How to SetFocus to an activex control when a dialog is prompted?

H

Haobing

I embeded an flash activex control to a wxPanel inherited class
'MyPanel' using wxPython's MakeActiveXClass method, and 'MyPanel' only
has flash control ;But when then dialog init,the focus is not on the
flash, I have to click the flash control manully to setfocus on it; It
will lose focus again when the dialog is block by other windows, so I
have to click again to pull the focus back.

I just want to know howto SetFocus to an activex control when a dialog
is inited?

Thanks in advance!
 

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

Staff online

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top