Pix
2005-06-21 08:51:25 UTC
Is it possible to modify the WNDCLASS of an existing standard dialog?
I have tried several things but it all comes down to changing
properties of a class which affects all dialogs and this is not what I
want.
What I really need is to apply CS_HREDRAW|CS_VREDRAW to a particular
dialog instance. I have tried registering a new class and applying it
to the window (with SetClassWord) in both WM_NCCREATE and WM_CREATE
but it didn't work.
Is there any known way of changing some class properties of a
particular window instance, after it is created. I am particularly
interested in dialogs (as created by CreateDialog and friends).
Pix
I have tried several things but it all comes down to changing
properties of a class which affects all dialogs and this is not what I
want.
What I really need is to apply CS_HREDRAW|CS_VREDRAW to a particular
dialog instance. I have tried registering a new class and applying it
to the window (with SetClassWord) in both WM_NCCREATE and WM_CREATE
but it didn't work.
Is there any known way of changing some class properties of a
particular window instance, after it is created. I am particularly
interested in dialogs (as created by CreateDialog and friends).
Pix