PDA

View Full Version : Qt::X11BypassWindowManagerHint functionality on Windows



asterion
12th March 2010, 19:16
Hi

I'm currently developing a cross-plataform virtual keyboard. In linux i was able to do whatever i want, but in Windows i'm having problems to prevent the widget to obtain the keyboard focus.

In linux, using the window flag "Qt::X11BypassWindowManagerHint" the widget never gets the keyboard input, but of course, that flag does not work on Windows

Is there something equivalent to that flag or some method i can use instead?

any ideas would be appreciated

thanks in advance

wysota
13th March 2010, 23:44
First, do you indeed mean the keyboard focus or the activation of the window? If the former then you can set the focus policy for all relevant widgets to NoFocus.