Results 1 to 2 of 2

Thread: Qt::X11BypassWindowManagerHint functionality on Windows

  1. #1
    Join Date
    Mar 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt::X11BypassWindowManagerHint functionality on Windows

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt::X11BypassWindowManagerHint functionality on Windows

    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.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. portable getopt() functionality
    By KShots in forum Qt Programming
    Replies: 7
    Last Post: 14th March 2011, 18:19
  2. Functionality of QTableView
    By doberkofler in forum Qt Programming
    Replies: 3
    Last Post: 22nd March 2010, 08:56
  3. Qt and touch functionality
    By rishiraj in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 23rd February 2009, 21:29
  4. Playbutton functionality
    By uchennaanyanwu in forum Qt Programming
    Replies: 5
    Last Post: 31st July 2008, 22:29
  5. spy++ like functionality with Qt / X11
    By bpetty in forum Newbie
    Replies: 3
    Last Post: 24th April 2007, 22:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.