ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Getting a handle on Userform controls (https://www.excelbanter.com/excel-programming/282856-getting-handle-userform-controls.html)

Howard Kaikow

Getting a handle on Userform controls
 
I can use the Windows API to get the handle for a Userform.
But, I cannot seem to get the handle for reach control on the Userform.

Any ideas on how to do this?

--
http://www.standards.com/; See Howard Kaikow's web site.



Chip Pearson

Getting a handle on Userform controls
 
Howard,

The controls used in MSForms are windowless controls; they don't have a
handle.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Howard Kaikow" wrote in message
...
I can use the Windows API to get the handle for a Userform.
But, I cannot seem to get the handle for reach control on the Userform.

Any ideas on how to do this?

--
http://www.standards.com/; See Howard Kaikow's web site.





Howard Kaikow

Getting a handle on Userform controls
 
Thanx.

My tests seem to confirm that.

When Office is fully .NET-ized, Windows Forms will eliminate such issues.

MSForms RIP!
--
http://www.standards.com/; See Howard Kaikow's web site.
"Chip Pearson" wrote in message
...
Howard,

The controls used in MSForms are windowless controls; they don't have a
handle.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Howard Kaikow" wrote in message
...
I can use the Windows API to get the handle for a Userform.
But, I cannot seem to get the handle for reach control on the Userform.

Any ideas on how to do this?

--
http://www.standards.com/; See Howard Kaikow's web site.








All times are GMT +1. The time now is 08:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com