
[Win32 API]Subclassing controls
Does anyone have or know of some tutorials on subclassing. I''m have a hell of alot of trouble trying to subclass my edit control.
I wish I had some code to present, but alas I do not.
So some a few pointer would be much appreciated.
TIA

gimme yer email
i''ll send ya some code to subclass an edit control in win32api
if you want
Arkon
[QSoft Systems]
i''ll send ya some code to subclass an edit control in win32api
if you want
Arkon
[QSoft Systems]
1. Create your custom WndProc for message handling etc.
2. Use SetWindowLong GWL_WNDPROC flag to get access to the controls original window procedure and replace it with your own. Make sure
3. Make sure your custom WndProc makes a call to the original one, or your edit box wont do very much.
HTH
2. Use SetWindowLong GWL_WNDPROC flag to get access to the controls original window procedure and replace it with your own. Make sure
3. Make sure your custom WndProc makes a call to the original one, or your edit box wont do very much.
|
HTH
i forgot i wrote a note about it
check it out:
http://qsoft.ragestorm.com/tutors/windows/subclasswnd.txt
all luck
Arkon
[QSoft Systems]
check it out:
http://qsoft.ragestorm.com/tutors/windows/subclasswnd.txt
all luck
Arkon
[QSoft Systems]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement