Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSkinned dialogs Pin
mtzlplyk15-Oct-04 6:14
mtzlplyk15-Oct-04 6:14 
Generalanalyzing the return value Pin
lino_i15-Oct-04 5:56
lino_i15-Oct-04 5:56 
GeneralRe: analyzing the return value Pin
mtzlplyk15-Oct-04 6:11
mtzlplyk15-Oct-04 6:11 
GeneralRe: analyzing the return value Pin
David Crow15-Oct-04 8:01
David Crow15-Oct-04 8:01 
QuestionHow do I gray out a radio button? Pin
tpbzdw15-Oct-04 5:13
tpbzdw15-Oct-04 5:13 
AnswerRe: How do I gray out a radio button? Pin
David Crow15-Oct-04 5:38
David Crow15-Oct-04 5:38 
GeneralRe: How do I gray out a radio button? Pin
tpbzdw15-Oct-04 5:41
tpbzdw15-Oct-04 5:41 
AnswerRe: How do I gray out a radio button? Pin
mtzlplyk15-Oct-04 6:04
mtzlplyk15-Oct-04 6:04 
Like this ...

<br />
void CMyDlg::EnableField(UINT nID, BOOL bEnable)<br />
{<br />
	CWnd *pWnd = GetDlgItem( nID );<br />
ASSERT( pWnd );<br />
	pWnd->EnableWindow( bEnable) ;<br />
	// pWnd->ShowWindow( bEnable ? SW_SHOW : SW_HIDE) ;<br />
}<br />
<br />
//<br />
// Enable or disable radio button - or anything else in the dialog<br />
//<br />
EnableField( IDC_RADIOxxx, FALSE);


Uncomment the ShowWindow statement to re-inforce the fact that a dialog window is disabled by hiding it.
GeneralRe: How do I gray out a radio button? Pin
tpbzdw15-Oct-04 11:35
tpbzdw15-Oct-04 11:35 
GeneralPicking in Opengl Pin
rage98915-Oct-04 5:06
rage98915-Oct-04 5:06 
GeneralDifferent techniques to handle license control Pin
anderslundsgard15-Oct-04 4:55
anderslundsgard15-Oct-04 4:55 
GeneralPlease help - individual chars in a CString Pin
...---...15-Oct-04 4:53
...---...15-Oct-04 4:53 
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 5:39
David Crow15-Oct-04 5:39 
GeneralRe: Please help - individual chars in a CString Pin
...---...15-Oct-04 6:23
...---...15-Oct-04 6:23 
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 6:37
David Crow15-Oct-04 6:37 
GeneralRe: Please help - individual chars in a CString Pin
...---...15-Oct-04 9:30
...---...15-Oct-04 9:30 
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 9:37
David Crow15-Oct-04 9:37 
GeneralRe: Please help - individual chars in a CString Pin
BlackDice15-Oct-04 8:46
BlackDice15-Oct-04 8:46 
GeneralReceiving Messsage from ActiveX Control Pin
Manoj Singh K.15-Oct-04 4:30
Manoj Singh K.15-Oct-04 4:30 
GeneralCOM: Get Interface from one process to another Pin
peterchen15-Oct-04 3:43
peterchen15-Oct-04 3:43 
GeneralRe: COM: Get Interface from one process to another Pin
mtzlplyk15-Oct-04 5:34
mtzlplyk15-Oct-04 5:34 
GeneralRe: COM: Get Interface from one process to another Pin
peterchen15-Oct-04 6:02
peterchen15-Oct-04 6:02 
QuestionWhere is wrong when I try to get the recordset? Pin
chocm15-Oct-04 3:42
chocm15-Oct-04 3:42 
AnswerRe: Where is wrong when I try to get the recordset? Pin
David Crow15-Oct-04 4:39
David Crow15-Oct-04 4:39 
AnswerRe: Where is wrong when I try to get the recordset? Pin
Andrzej Markowski15-Oct-04 18:33
Andrzej Markowski15-Oct-04 18:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.