Tell you what, I''ll just send you some working code and let you go from there. Perhaps you''ll be able to find the difference between mine and yours. I''ll also send you an article I''ve written (it''s about 5 weeks from being posted here) about the technique (I should put it on my homepage - when I get my homepage up).
[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!
Problems storing this in GWL_USERDATA
I sent it to the one you flamed me with. I believe xDS4Lx@excite.com.
[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!
[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!
now i feel bad, sorry bout the flame It was nothing personal, just a lot of stress this week. First my gf of a year dumps me b/c she got diagnosed w/ cancer, second i get my credit card stolen, third my car died. what a great week
quote:Original post by xDS4Lx
now i feel bad, sorry bout the flame It was nothing personal, just a lot of stress this week. First my gf of a year dumps me b/c she got diagnosed w/ cancer, second i get my credit card stolen, third my car died. what a great week
Damn!
Don''t worry about it, though. I never take flames personally - especially those online. I''ve had some major flamewars on this site and ended up with respect for the opponent (see krez). Just glad I could make your life a bit easier.
[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!
Thanx man good read! I dont know why, but I called SetLastError(0) right before calling SetWindowLong and now all of a sudden it works. Makes me wonder about what's really going on inside of windows b/c i dont see that in anyone else's code. The reason I know it works is b/c I put the WM_CLOSE and WM_DESTROY messages into my virtual window proc and had it output a message right before destroying the window and it sure does, but when I try to debug my program it always has GetWindowLong return null, is this just b/c I cant debug into the static WndProc?
Edited by - xds4lx on February 25, 2002 10:05:45 PM
Edited by - xds4lx on February 25, 2002 10:05:45 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement