PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework webbrowser control deactivating the form

Reply

webbrowser control deactivating the form

 
Thread Tools Rate Thread
Old 07-03-2007, 09:25 PM   #1
xtravar@gmail.com
Guest
 
Posts: n/a
Default webbrowser control deactivating the form


Scenario:
I have an active Form.
I dynamically add a UserControl (1) to the Form.
I dynamically add a UserControl (2) containing a WebBrowser to the
existing UserControl (1).
Form loses focus = SIP icon disappears and title says "Start"

I can progmatically hack around this by forcing the Form to activate,
hiding and showing the ToolBar using the Windows API, and re-assigning
the Form's mainmenu...

However, I'd like a much better solution.

Ideas?

I know it's the WebBrowser control because this happens right after
new WebBrowser in the designer code.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off