Getting a handle on Userform controls

H

Howard Kaikow

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?
 
C

Chip Pearson

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
 
H

Howard Kaikow

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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top