Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralChanging font type in a View Pin
Anonymous1-Apr-03 22:05
Anonymous1-Apr-03 22:05 
GeneralRe: Changing font type in a View Pin
jhwurmbach1-Apr-03 22:19
jhwurmbach1-Apr-03 22:19 
GeneralRe: Changing font type in a View Pin
Anonymous1-Apr-03 22:29
Anonymous1-Apr-03 22:29 
GeneralRe: Changing font type in a View Pin
ilgale1-Apr-03 23:32
ilgale1-Apr-03 23:32 
GeneralRe: Changing font type in a View Pin
Cedric Moonen2-Apr-03 0:08
Cedric Moonen2-Apr-03 0:08 
GeneralRe: Changing font type in a View Pin
Chintan2-Apr-03 7:09
Chintan2-Apr-03 7:09 
GeneralModeless property sheet and OK/Cancel buttons. Pin
justin2231-Apr-03 21:58
justin2231-Apr-03 21:58 
GeneralRe: Modeless property sheet and OK/Cancel buttons. Pin
jhwurmbach1-Apr-03 22:24
jhwurmbach1-Apr-03 22:24 
In the Sheets constructor, before any of the pages are constructed, I call this:
//Remove the Apply Button
m_psh.dwFlags |= PSH_NOAPPLYNOW;
//Remove the Help button
m_psh.dwFlags &= ~PSH_HASHELP;
< edit > And here is what I do in the beginning of OnInitDialog
//see Microsoft Knowledge Base Article - Q146916
 m_bModeless=FALSE;                              //cheat BaseClass into NOT disabling Buttons
 m_nFlags |= WF_CONTINUEMODAL;
 BOOL bResult = CPropertySheet::OnInitDialog();
 m_bModeless= TRUE;                              //reset to our actual state.
 m_nFlags &= ~WF_CONTINUEMODAL;
< /edit >

Stop asking why - I just copied it from someone, and as it worked I never bothered to think about it again.;)


My opinions may have changed, but not the fact that I am right.
GeneralProgress Bar Pin
summo1-Apr-03 21:26
summo1-Apr-03 21:26 
GeneralRe: Progress Bar Pin
Cedric Moonen1-Apr-03 22:03
Cedric Moonen1-Apr-03 22:03 
GeneralSearching database more effective Pin
Ohaiyo1-Apr-03 19:33
Ohaiyo1-Apr-03 19:33 
GeneralRichText control Pin
milan1-Apr-03 19:28
milan1-Apr-03 19:28 
Generalcontrolling characters entered into an edit box Pin
Raghunandan S1-Apr-03 19:22
Raghunandan S1-Apr-03 19:22 
GeneralRe: controlling characters entered into an edit box Pin
Anonymous1-Apr-03 20:42
Anonymous1-Apr-03 20:42 
GeneralRe: controlling characters entered into an edit box Pin
JensB1-Apr-03 23:02
JensB1-Apr-03 23:02 
GeneralRe: controlling characters entered into an edit box Pin
jhwurmbach1-Apr-03 23:11
jhwurmbach1-Apr-03 23:11 
GeneralRe: controlling characters entered into an edit box Pin
jhwurmbach1-Apr-03 23:15
jhwurmbach1-Apr-03 23:15 
GeneralError: Cannot open program database Pin
Ahsan Abbas1-Apr-03 19:10
Ahsan Abbas1-Apr-03 19:10 
GeneralRe: Error: Cannot open program database Pin
peterchen2-Apr-03 6:16
peterchen2-Apr-03 6:16 
GeneralSDI using CApp in other Class.... Pin
Exceter1-Apr-03 18:54
Exceter1-Apr-03 18:54 
GeneralRe: SDI using CApp in other Class.... Pin
Joan M1-Apr-03 19:14
professionalJoan M1-Apr-03 19:14 
GeneralProblem of asterisk's Pin
rohit.dhamija1-Apr-03 18:51
rohit.dhamija1-Apr-03 18:51 
GeneralExchange of values among different classes of same project Pin
summo1-Apr-03 18:50
summo1-Apr-03 18:50 
GeneralRe: Exchange of values among different classes of same project Pin
Woody Green2-Apr-03 3:22
Woody Green2-Apr-03 3:22 
GeneralChange display font setting (dpi) Pin
mijarral1-Apr-03 18:21
mijarral1-Apr-03 18:21 

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.