Click here to Skip to main content
15,881,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Integer operations Pin
Tim Deveaux28-May-00 8:01
Tim Deveaux28-May-00 8:01 
GeneralRe: Integer operations Pin
Andreas Jaeger1-Jun-00 5:55
Andreas Jaeger1-Jun-00 5:55 
GeneralDialog Pin
Member 434827-May-00 10:53
Member 434827-May-00 10:53 
Generalurgent:keyborad acts funny on mainframe dlgbar Pin
gordon26-May-00 16:13
gordon26-May-00 16:13 
QuestionMaximizing app at startup - how? Pin
Mike Newberry26-May-00 12:47
sussMike Newberry26-May-00 12:47 
AnswerRe: Maximizing app at startup - how? Pin
Richard Warg26-May-00 13:38
Richard Warg26-May-00 13:38 
AnswerRe: Maximizing app at startup - how? Pin
imsniper28-May-00 23:26
imsniper28-May-00 23:26 
GeneralRe: Maximizing app at startup - how? Pin
Member 7505-Jun-00 18:29
Member 7505-Jun-00 18:29 
You don't want to pass WS_MAXIMIZE, a style code, to ShowWindow.

You're supposed to do as Mr. Warg pointed out:

Change

pMainFrame->ShowWindow(m_nCmdShow);
pMainFrame->UpdateWindow();

to

pMainFrame->ShowWindow(SW_SHOWMAXIMIZED);
pMainFrame->UpdateWindow();

Note the WS_* in front means a *W*indow *S*tyle code, whereas the SW_* in front means a *S*how*W*indow code.

AppWizard supplies the

pMainFrame->ShowWindow(m_nCmdShow);
pMainFrame->UpdateWindow();

code for you; all you have to do is to replace the m_nCmdShow with SW_SHOWMAXIMIZED, and you're in business!!

Brian Hart
GeneralNot responding apps Pin
Bruno Vais26-May-00 8:02
Bruno Vais26-May-00 8:02 
Generalmarcro for comment word-wrap reformat Pin
Philip Winston26-May-00 5:28
Philip Winston26-May-00 5:28 
GeneralCDC::SelectObject returns NULL Pin
Paul Ebert26-May-00 4:27
Paul Ebert26-May-00 4:27 
GeneralHitTest on CTreeCtrl (Dialog Based) Pin
daniel madden26-May-00 4:08
daniel madden26-May-00 4:08 
GeneralRe: HitTest on CTreeCtrl (Dialog Based) Pin
Mike Dunn26-May-00 8:13
Mike Dunn26-May-00 8:13 
GeneralRe: HitTest on CTreeCtrl (Dialog Based) Pin
daniel madden26-May-00 9:39
daniel madden26-May-00 9:39 
GeneralRemoving loaded DLLs after app crash Pin
Jeremy Davis26-May-00 0:04
Jeremy Davis26-May-00 0:04 
GeneralCPrintDialog, customizing Pin
djordj25-May-00 11:27
djordj25-May-00 11:27 
GeneralRe: CPrintDialog, customizing Pin
Chris Meech26-May-00 6:26
Chris Meech26-May-00 6:26 
QuestionIPX programming. Posible in windows? Pin
Markus25-May-00 9:12
Markus25-May-00 9:12 
AnswerRe: IPX programming. Posible in windows? Pin
Frank Deo25-May-00 10:29
Frank Deo25-May-00 10:29 
AnswerRe: IPX programming. Posible in windows? Pin
Alex Gorev25-May-00 10:29
Alex Gorev25-May-00 10:29 
AnswerRe: IPX programming. Posible in windows? Pin
Member 120896525-May-00 11:05
Member 120896525-May-00 11:05 
GeneralRe: IPX programming. Posible in windows? Pin
Markus25-May-00 12:24
Markus25-May-00 12:24 
GeneralRe: IPX programming. Posible in windows? Pin
Member 120896525-May-00 12:52
Member 120896525-May-00 12:52 
QuestionSplash screen on dialog-based? Pin
Member 1176625725-May-00 5:59
Member 1176625725-May-00 5:59 
AnswerRe: Splash screen on dialog-based? Pin
Andrebon25-May-00 15:21
Andrebon25-May-00 15: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.