Click here to Skip to main content
16,011,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual Studio .NET vs old mfc class Pin
Christian Graus19-May-04 17:27
protectorChristian Graus19-May-04 17:27 
GeneralRe: Visual Studio .NET vs old mfc class Pin
Michael P Butler19-May-04 22:36
Michael P Butler19-May-04 22:36 
GeneralCombo Boxes and numbers Pin
Eversman19-May-04 16:56
Eversman19-May-04 16:56 
GeneralRe: Combo Boxes and numbers Pin
Mahendra_78619-May-04 21:33
Mahendra_78619-May-04 21:33 
GeneralRe: Combo Boxes and numbers Pin
Andrew Quinn AUS19-May-04 23:50
Andrew Quinn AUS19-May-04 23:50 
GeneralShowWindow() problem - MFC Pin
J.B.19-May-04 16:21
J.B.19-May-04 16:21 
GeneralRe: ShowWindow() problem - MFC Pin
nguyenvhn19-May-04 18:18
nguyenvhn19-May-04 18:18 
GeneralRe: ShowWindow() problem - MFC Pin
J.B.19-May-04 18:57
J.B.19-May-04 18:57 
Thanks for the reply,

I think you've misunderstood a bit. I want to show a maximised window that does NOT cover the taskbar area. You might want to try it yourself, have a dialog that the MAXIMIZED BOX is selected FALSE or is not ticked in the resource view. And place ShowWindow(SW_SHOWMAXIMIZED) in OnInitDialog. In my system, that creates a maximised dialog window in full screen. Try to restore the MAXIMIZED BOX, the window is then maximised, with the taskbar still showing.

I could somehow force it using
CRect deskRect;

SystemParametersInfo(SPI_GETWORKAREA, NULL, &deskRect, 0);
MoveWindow(&deskRect);
</code>


But this is not so great because the dialog is not in maxmised mode (where window borders are hidden) and also it's been fixed so if taskbar's size is later changed, the dialog window will still stay the same.
GeneralRe: ShowWindow() problem - MFC Pin
*Dreamz20-May-04 2:23
*Dreamz20-May-04 2:23 
GeneralRe: ShowWindow() problem - MFC Pin
J.B.20-May-04 3:26
J.B.20-May-04 3:26 
GeneralRe: ShowWindow() problem - MFC Pin
*Dreamz20-May-04 3:34
*Dreamz20-May-04 3:34 
GeneralRe: ShowWindow() problem - MFC Pin
J.B.20-May-04 5:16
J.B.20-May-04 5:16 
GeneralRe: ShowWindow() problem - MFC Pin
*Dreamz20-May-04 19:21
*Dreamz20-May-04 19:21 
GeneralA probelm of launching excel from C++ Pin
xiaosongxia19-May-04 16:18
xiaosongxia19-May-04 16:18 
GeneralRe: A problem of launching excel from C++ Pin
Steve S19-May-04 22:37
Steve S19-May-04 22:37 
GeneralMFC and Menus Pin
Eversman19-May-04 16:16
Eversman19-May-04 16:16 
GeneralRe: MFC and Menus Pin
valikac19-May-04 18:31
valikac19-May-04 18:31 
GeneralRe: MFC and Menus Pin
Eversman20-May-04 2:45
Eversman20-May-04 2:45 
GeneralRe: MFC and Menus Pin
valikac20-May-04 5:21
valikac20-May-04 5:21 
GeneralRe: MFC and Menus Pin
Eversman20-May-04 9:36
Eversman20-May-04 9:36 
GeneralRe: MFC and Menus Pin
*Dreamz20-May-04 17:48
*Dreamz20-May-04 17:48 
Generalselect an item from a listctrl Pin
dadacncn19-May-04 13:12
dadacncn19-May-04 13:12 
GeneralRe: select an item from a listctrl Pin
nguyenvhn19-May-04 15:40
nguyenvhn19-May-04 15:40 
GeneralOnKeyDown &amp; PropSheets Pin
Cambalindo19-May-04 12:40
Cambalindo19-May-04 12:40 
GeneralRe: onkeydown &amp; PropSheets Pin
John R. Shaw19-May-04 12:56
John R. Shaw19-May-04 12:56 

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.