|
-
Feb 15th, 2002, 03:43 PM
#1
Thread Starter
Frenzied Member
How to determine type of control in WndProc?
Hi,
I'm subclassing a form that has 2 controls on it, a textbox and a combobox. Each control is being sublcassed at the same time.
In my window procedure, I need to determine which control currently has the focus and is sending the message so that I can do some processing for the particular control.
I tried placing a "TypeOf" statement in the window procedure to try and determine the type of control, but it keeps bombing..
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|