Check mi image:
http://img209.imageshack.us/img209/5...titled1xo6.jpg
This is the code:
Code:
IDD_DIALOG2 DIALOGEX 0, 0, 180, 134
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD | WS_SYSMENU
EXSTYLE WS_EX_TRANSPARENT
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
CONTROL "",IDC_SPIN1,"msctls_updown32",UDS_SETBUDDYINT |
UDS_ARROWKEYS,39,24,11,14,WS_EX_TRANSPARENT
GROUPBOX "Commands:",IDC_STATIC,62,14,98,52,0,WS_EX_TRANSPARENT
GROUPBOX "Playlist:",IDC_STATIC,7,14,50,31,BS_LEFT
END
and also for the DlgProc:
Code:
INT_PTR CALLBACK ChildsDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
switch(uMsg) {
//...
case WM_ERASEBKGND:
{
return 1;
}
//...
But still, those Groupboxes still have those ugly backgrounds...
any ideas about how to make them real transparent?
I hope to use the WM_CTRLCOLORSTATIC as last awnser.