Announcement

Collapse
No announcement yet.

%WM_QUERYNEWPALETTE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • %WM_QUERYNEWPALETTE

    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)



  • #2
    Semen,

    As you seen it, if you want to have full control on your windows, you should use the CreateWindowEx API, then you will have no restrictions.
    Don't use either the CreateDialog API because the same limitations apply to it.


    ------------------
    Patrice Terrier
    mailto[email protected][email protected]</A>
    Patrice Terrier
    www.zapsolution.com
    www.objreader.com
    Addons: GDImage.DLL 32/64-bit (Graphic library), WinLIFT.DLL 32/64-bit (Skin Engine).

    Comment


    • #3
      Patrice --
      I know your position

      But here is another problem.
      I encounted how to receive WM_QUERYNEWPALETTE in DDT child.
      (SetForegroundWindow, very strange)

      [This message has been edited by Semen Matusovski (edited May 13, 2000).]

      Comment

      Working...
      X