Click here to Skip to main content
15,914,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: EndModalDialog?? Any Ideas Pin
Anthony_Yio28-May-04 19:06
Anthony_Yio28-May-04 19:06 
GeneralRe: EndModalDialog?? Any Ideas Pin
Gary R. Wheeler28-May-04 5:25
Gary R. Wheeler28-May-04 5:25 
GeneralALT+TAB functionality. Pin
baskarchinnu27-May-04 7:06
baskarchinnu27-May-04 7:06 
GeneralRe: ALT+TAB functionality. Pin
Alexander M.,27-May-04 8:34
Alexander M.,27-May-04 8:34 
GeneralRe: ALT+TAB functionality. Pin
baskarchinnu27-May-04 21:23
baskarchinnu27-May-04 21:23 
Questionhow to add a minimize button and maximize button on a dialog? Pin
vividtang27-May-04 6:39
vividtang27-May-04 6:39 
AnswerRe: how to add a minimize button and maximize button on a dialog? Pin
David Crow27-May-04 7:05
David Crow27-May-04 7:05 
AnswerRe: how to add a minimize button and maximize button on a dialog? Pin
Alexander M.,27-May-04 8:41
Alexander M.,27-May-04 8:41 
there are 2 better ways. if you are using a dialog resource then change the dialog settings with the resource editor (there is an option for min/max button). the other way is to change the window style run-time.

DWORD dwLong;

dwLong = GetWindowLong( hWnd, GWL_STYLE );
dwLong |= WS_MINIMIZEBOX | WS_MAXIMIZEBOX;
SetWindowLong( hWnd, GWL_STYLE, dwLong );


Don't try it, just do it! Wink | ;-)
GeneralRe: how to add a minimize button and maximize button on a dialog? Pin
J.B.27-May-04 17:00
J.B.27-May-04 17:00 
GeneralDDE Server Pin
orcun colak27-May-04 5:20
orcun colak27-May-04 5:20 
GeneralRe: DDE Server Pin
David Crow27-May-04 7:13
David Crow27-May-04 7:13 
GeneralInstall the .Net framework Pin
sweep12327-May-04 5:04
sweep12327-May-04 5:04 
GeneralRe: Install the .Net framework Pin
valikac27-May-04 5:11
valikac27-May-04 5:11 
GeneralRe: Install the .Net framework Pin
toxcct27-May-04 5:29
toxcct27-May-04 5:29 
GeneralRe: Install the .Net framework Pin
sweep12327-May-04 5:59
sweep12327-May-04 5:59 
GeneralRe: Install the .Net framework Pin
Navin27-May-04 6:33
Navin27-May-04 6:33 
GeneralRe: Install the .Net framework Pin
sweep12327-May-04 6:38
sweep12327-May-04 6:38 
GeneralRe: Install the .Net framework Pin
Navin27-May-04 6:51
Navin27-May-04 6:51 
GeneralRe: Install the .Net framework Pin
Navin27-May-04 6:32
Navin27-May-04 6:32 
GeneralRe: Install the .Net framework Pin
sweep12327-May-04 22:45
sweep12327-May-04 22:45 
GeneralExperts !Problem with WNetOpenEnum Pin
Member 115017627-May-04 4:55
Member 115017627-May-04 4:55 
GeneralRe: Experts !Problem with WNetOpenEnum Pin
David Crow27-May-04 7:31
David Crow27-May-04 7:31 
GeneralExperts !Problem with WNetOpenEnum Pin
ykutanoor27-May-04 4:54
ykutanoor27-May-04 4:54 
Generalcopy constructors and inheritance Pin
Wheatbread27-May-04 4:40
Wheatbread27-May-04 4:40 
GeneralRe: copy constructors and inheritance Pin
toxcct27-May-04 4:52
toxcct27-May-04 4:52 

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.