Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX Control w/Runtime Mnemonic Changes

Status
Not open for further replies.

Crownlog

Programmer
Feb 11, 2004
1
US
Hi.

I have written an ActiveX control and all works well including the Mnemonics. But I wish to dynamically change the Mnemonics from within the application that uses my control.

It appears that OnGetControlInfo only gets called once during the creation of the control. I can't find any way to cause the container of my control to call OnGetControlInfo during the execution of my program.

I wish to enable my control with the ability to have the user change the text of the control during run time with a unique mnemonic. I can change the text now without problem, but the previously set mnemonic stays active.

In short, I just need a way to tell the container of my control to call OnGetControlInfo.

Thanks very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top