win32 sdk: problems with caption/border of child window
- by Eric
I'm creating a child window within the main window. I assigned these styles to the child window:
WS_CHILDWINDOW | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | WS_SIZEBOX | WS_CAPTION
The child window I get has a caption and a resizable border.
However there's no close button in the caption, and the caption/border of the child window is not transparent (I'm using the aero theme in windows 7).
How to add close button to the caption? How can I make the caption/border transparent?