Coder's Guild Mailing List

Re: Window Style

Posted by Bernie Siegrist on 2001-01-04

From: "Frank Hale" <frankhale@xxxxxxxx.xxx>

 >Does anyone know what style window the ICQ main window is? It resembles a
 >WS_EX_PALETTEWINDOW but it has a minimize button. I want to create the same
 >style window with the small title and the close and minimize buttons. Anyone
 >know how to do it using straight Win32 not MFC please.

Here are the ICQ main window's styles:

WS_POPUPWINDOW | WS_VISIBLE | WS_CLIPSIBLINGS | WS_DLGFRAME | WS_THICKFRAME 
| WS_OVERLAPPED | DS_3DLOOK | DS_SETFONT

Extended styles:
WS_EX_LEFT
WS_EX_LTRREADING
WS_EX_RIGHTSCROLLBAR
WS_EX_PALETTEWINDOW  (Aaah...!)
WS_EX_CONTROLPARENT

I suspect the minimize button is a self-made, because a) it is slightly 
different from a "standard" minimize button, and b) IIRC a tool window 
can't be minimizeable. But then again, don't be mad at me if it turns out 
that I'm wrong.