Hi. I have a notebook interface and one tab contains an html page. There is a strange glitch on startup. It's related to the OpenURI function. Basically, what I do is load up my program. Then, click out of it (to change focus to the background or another program). Then, when I click back into it, it magically switches to the chat tab. Check out this video to illustrate:
http://duke3d.org/chat.avi
Is there any way to stop this from happening? Another thing I noticed was that if you add the tab with the web page to the wxAuiNotebook, it switches to that tab even if you tell it to not switch to it.
Kirix Support Forums
HTML tab steals focus
3 posts
• Page 1 of 1
Re: HTML tab steals focus
One way I can stop this is to click on something before clicking out of the application and clicking back in. Then, it appears to work ok.
- miclus
- Registered User
- Posts: 10
- Joined: Sat Jul 18, 2009 8:56 pm
Re: HTML tab steals focus
Can you put a breakpoint in the tab control's activate method to determine who is calling the activate function? That would really shed some light on why the tab is changing unexpectedly.
All the best,
Ben
All the best,
Ben
Ben Williams
Kirix Support Team
Kirix Support Team
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
3 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback