On Tue, Aug 30, 2011 at 09:11:33PM -0300, Lucas Zawacki wrote:
It doesn't make sense to pass the info as WM_INITDIALG parameter if it's going to be stored in global variables anyway. A better way would be to store this in the window info.
Any pointers on what's the set of winapi functions used to store and retrieve data in windows? I've searched MSDN for almost 30 minutes and no luck.
SetPropA/W
Also offset 0 of the window longs are usually used, like e.g. in comctl32/tooltips.c:
SetWindowLongPtrW (hwnd, 0, (LONG_PTR)infoPtr);
Ciao, Marcus