what api call and/or constants do I use to get the name and handle of controls on a specific form? thx in advance becuase I don't have any idea where to start. thx once again.<br>exo
dim ctl as control<br>for each ctl in form1.controls<br> debug.print ctl.name<br>next<br><br>You can use the hwnd property to get the window handle of a control, but not every control has a hwnd property, so your code will need to be able to deal with that.<br> <p>nick bulka<br><a href=mailto: > </a><br><a href=
the scenario that I am dealing with is getting the handle of controls on programs written in any other language. For example: I know I can use the API to get a list of all running windows, but can't get it to work any other way.<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.