how to change windows color
i want to change window color ,the window was produce by the follow code:
ToolBarWnd = CreateWindowEX(0, "ToolbarWindow32", "", _
WS_CHILD Or WS_VISIBLE Or TB_AUTOSIZE Or Wrap Or List Or _
WS_CHILD Or CCS_NODIVIDER Or TBSTYLE_TOOLTIPS Or WS_CLIPCHILDREN _
Or CCS_NOPARENTALIGN Or CCS_NORESIZE Or TBSTYLE_FLAT, _
0, 0, 0, 0, Toolbar, 0&, App.hInstance, 0&)
who can answer me?thank you very much !
Re: how to change windows color
U can try in registration of "ToolbarWindow32".
U can use HBRUSH of struct _WNDCLASS.
--------------
ATOM RegisterClassEx(
CONST WNDCLASSEX *lpwcx // pointer to structure with class data
);
Public Declare Function RegisterClassEx Lib "user32" Alias "RegisterClassExA" (pcWndClassEx As WNDCLASSEX) As Integer
--------
typedef struct _WNDCLASS {
UINT style;
WNDPROC lpfnWndProc;
int cbClsExtra;
int cbWndExtra;
HANDLE hInstance;
HICON hIcon;
HCURSOR hCursor;
HBRUSH hbrBackground;
LPCTSTR lpszMenuName;
LPCTSTR lpszClassName;
} WNDCLASS;
---------
sorry ...I don't find the VB declaretion...
----
hi,brt
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
</center>
Re: how to change windows color
thank you for help!can you give me an example?