Allocating extra memory for a dialog
I'm tryin to figure out how to allocate extra memory for a dialog-window,
such as setting the cbWndExtra-field of the WNDCLASSEX structure.
I'm creating the dialog using CreateDialog() from a dialog template and it would be nice to be able to set this in the template.
..or somewhere else ;)
Maybe I just should create a structure containing the
bytes I need and use SetWindowLong() to point to an instance
of that structure? Any suggestions?
thanks a lot