Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!rochester!cornell!uw-beaver!milton!dali.cs.montana.edu!uakari.primate.wisc.edu!aplcen!haven!umd5!rossh From: rossh@umd5.umd.edu (Hollis "The Big Kahuna" Ross) Newsgroups: comp.windows.ms.programmer Subject: Re: grayed Radio buttons Summary: How to Keywords: Radio buttons Message-ID: <7505@umd5.umd.edu> Date: 1 Nov 90 15:33:14 GMT References: <148@sms351.UUCP> Reply-To: rossh@umd5.umd.edu (Hollis "The Big Kahuna" Ross) Followup-To: comp.windows.ms.programmer Distribution: usa Organization: University of Maryland, College Park Lines: 19 In article <148@sms351.UUCP> caspar@t31dopr.uucp (Michael Caspar) writes: >I have a DialogBox with three Radio Buttons and want to gray two of them >including the Text behind. Can anyone help me? Try this HWND hWndCntrl; hWndCntrl = GetDlgItem( hDlg, MY_CONTROL_ID ); EnableWindow( hWndCntrl, 1 ); ================================================================================ "Gozer the Gozarian, as a duly appointed represenative | rossh@umd5.umd.edu of the, State, County and City of New York, I do hereby | Bitnet: rossh@umdd command you to cease all paranormal activity and return |--------------------- forthwit to your place of origin, or the nearest | Bill the cat says convient parallel dimension" - Ghostbusters | "Just say Ack!" ================================================================================