|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.Net user control in a VB6 app requires double-click to activateI have a VB6 winforms application that has a .Net 2.0 user control
(exposed via COM) that I made. No matter what I have tried, once the user control looses focus, it always requires a double-click to regain focus. My control is in a Microsoft VB6 Tab control. So whenever I go to another tab, and return to the tab with the user control, I must double-click the control to give it focus. I have tried giving it focus in code, passing a double-click event to the control, tried using the 3rd-party SStab control for the tab functionality, but it all has no effect. A friend was just telling me something about Microsoft changing the way Active-X controls were activated in websites now due to some lawsuit, something about needing to double-click on them. Could this have ANYTHING to do with it? As I said, I am using the 2.0 framework. Thanks for any suggetsions, Marcus <holysmoke***@hotmail.com> wrote in message
Show quoteHide quote news:1159290533.403518.105600@h48g2000cwc.googlegroups.com... If you're using an ActiveX control in a browser window, this is likely the >I have a VB6 winforms application that has a .Net 2.0 user control > (exposed via COM) that I made. No matter what I have tried, once the > user control looses focus, it always requires a double-click to regain > focus. My control is in a Microsoft VB6 Tab control. So whenever I go > to another tab, and return to the tab with the user control, I must > double-click the control to give it focus. I have tried giving it focus > in code, passing a double-click event to the control, tried using the > 3rd-party SStab control for the tab functionality, but it all has no > effect. > > A friend was just telling me something about Microsoft changing the way > Active-X controls were activated in websites now due to some lawsuit, > something about needing to double-click on them. Could this have > ANYTHING to do with it? As I said, I am using the 2.0 framework. problem. Your friend is correct; Microsoft made a change in the way ActiveX controls are handled within IE: http://support.microsoft.com/kb/912945
Securing my app with serial number
A question of design Encrypt a date to use in demo version System.Diagnostics.Process.Start Freezes No Recursive instr?!! Visual Studio Proffessional 2005 Finding embedded controls? RTf to Word.Doc Do I need to install Excel on the server? C# to VB Conversion Help - Overriding Events? |
|||||||||||||||||||||||