Click to See Complete Forum and Search --> : How to drop a window down like ICQ


PIN
May 29th, 1999, 12:02 AM
I don't know to name it right, but if u 'drop down' a prog like ICQ no(!) other window will overlap the icq one if they on fullscreen mode.

Maybe it called drop to window or a kind like this or is to use WS_TOP or WS_TOPMOST - I hope u understand me...

How to do it in VC++ ?
Is here or elsewhere any example code ?

Dan Haddix
May 30th, 1999, 02:19 PM
Add this line to your CMainFrame's PreCreateWindow function
[ccode]
cs.dwExStyle |= WS_EX_TOPMOST;
[/cccode]

PIN
May 30th, 1999, 02:46 PM
No, I allready use WS_EX_TOPMOST but if I use the "fullsize" button on other tools, the will be "under" my window and should only go to the endposition of my window (like a taskbar - u know?)

But thanks for the try!