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...
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, ...