No Border Dialog Behavior 
Author Message
 No Border Dialog Behavior

I have a dialog with no border (STYLE WS_POPUP | WS_VISIBLE), which I would
like to maximize correctly. When I send the dialog a standard maximize
msg...

SendMessage(WM_SYSCOMMAND, SC_MAXIMIZE, 0 );

...the dialog maximizes to fill the entire screen, including obscuring the
system taskbar. Changing the STYLE to any border (WS_BORDER) changes the
maximize to the expected behavior (only using the desktop region).

Also, when my dialog has no border, the "Minimize All Windows" (taskbat
context menu) does not minimize my dialog.

Can anyone explain this behavior and recommend a fix?

Thanks,

- Scott



Sat, 13 Mar 2004 04:23:39 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Change a child dialog's border?

2. Changing a dialog's border width

3. How to change a dialog box border color???

4. Resize a thin border dialog?

5. Resizable dialog without border ..

6. dialog border color

7. How to change dialog box border color?

8. Dialog buttons get ugly black borders once clicked ?

9. Dialog with no border, ICON?

10. remove dialog frames border at creation/runtime

11. adding borders to a dialog ?

12. Dialog Bar borders

 

 
Powered by phpBB® Forum Software