I created custom control to use in Control Add statement and encounted, that there is no %WM_QUERYNEWPALETTE event.
Meanwhile Dialog (which is a parent) receives this event.
If to change Dialog New to CreateWindow I receive %WM_QUERYNEWPALETTE in parent and in child (like it should be).
Any suggestions what to do ?
(I don't want to change a parent from Dialog to CreateWindow)
Meanwhile Dialog (which is a parent) receives this event.
If to change Dialog New to CreateWindow I receive %WM_QUERYNEWPALETTE in parent and in child (like it should be).
Any suggestions what to do ?
(I don't want to change a parent from Dialog to CreateWindow)
Comment