If I create a window with CreateWindow() and I specify LPVOID to be a pointer to a struct, why doesn't it work?
In the WM_CREATE I cast lParam to be the struct type and the data is just wrong...
This is a discussion on CreateWindow LPVOID within the Windows Programming forums, part of the Platform Specific Boards category; If I create a window with CreateWindow() and I specify LPVOID to be a pointer to a struct, why doesn't ...
If I create a window with CreateWindow() and I specify LPVOID to be a pointer to a struct, why doesn't it work?
In the WM_CREATE I cast lParam to be the struct type and the data is just wrong...
Oh, DW I think I figure it out. .. lParam is a createstruct pointer which has a pointer to my struct pointer right?
[edit:] Yeah, ...![]()