Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21842

Subclassing Question

$
0
0
When subclassing a Form I use this GWL_WNDPROC as in

OldWndProc = SetWindowLong(Me.hwnd, GWL_WNDPROC, AddressOf MainWndProc)


My question is if I subclass something else, like a Textbox, Combobox, Listbox, et, etc, do I still use GWL_WNDPROC or is there another constant I should use?

Viewing all articles
Browse latest Browse all 21842

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>