I want to change Brush in Dlg window
GCL_HBRBACKGROUND with SetClassLong works with generic window, doesn't work with Dialog window.
Returns 0 and GetLastError also returns 0 :)
I am complitly buffeled :)
Other indexes work in SetClassLong with dialogs.
GCL_HBRBACKGROUND with SetClassLong works with generic window, doesn't work with Dialog window.
Returns 0 and GetLastError also returns 0 :)
I am complitly buffeled :)
Other indexes work in SetClassLong with dialogs.
Solution found.
So, don't keep us holding our breath, what was the solution?
return brush on WM_CTLCOLORDLG