|
-
Nov 14th, 2001, 11:01 AM
#1
Thread Starter
Junior Member
Question on controls
I need to loop through all the controls on a form and obtain the handles for the controls could anyone help with this
Pretty easy for some still a newbie
-
Nov 14th, 2001, 11:54 AM
#2
I'm assuming you mean one of the forms in your program, in which case the following should do for you (if not I can't help you I'm afraid )
VB Code:
for each ctrl in <formname>.controls
msgbox ctrl.hwnd
next ctrl
-
Nov 14th, 2001, 12:20 PM
#3
What do you want the handles of all the controls on your form for?
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
|