Results 1 to 2 of 2

Thread: FindWindow On QTCreator Like WinAPI

  1. #1
    Join Date
    Mar 2010
    Posts
    92
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default FindWindow On QTCreator Like WinAPI

    when i want find 1 widget (or window ) on windows platform i use funcition
    Qt Code:
    1. HWND FindWindow(
    2. __in LPCTSTR lpClassName,
    3. __in LPCTSTR lpWindowName
    4. );
    To copy to clipboard, switch view to plain text mode 

    if i want find widget on QTcreator,how do i do ?

  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: FindWindow On QTCreator Like WinAPI

    Quote Originally Posted by nhs_0702 View Post
    if i want find widget on QTcreator,how do i do ?
    Qt Creator is a text editor, not a language.

    You can use WinAPI in Qt programs or use QObject::findChild() if you know precisely what you are looking for.
    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. Qt + WINAPI + direct painting
    By JovianGhost in forum Qt Programming
    Replies: 8
    Last Post: 26th March 2010, 05:10
  2. Using Winapi in Qt?
    By Awareness in forum Qt Programming
    Replies: 3
    Last Post: 23rd March 2010, 03:04
  3. Winapi in Qt
    By Trok in forum Qt Programming
    Replies: 1
    Last Post: 19th July 2009, 16:38
  4. Using WinAPI FindWindow with Qt
    By emostar in forum Qt Programming
    Replies: 16
    Last Post: 11th July 2009, 09:27
  5. FindWindow
    By sonuani in forum Qt Programming
    Replies: 1
    Last Post: 21st March 2008, 10:37

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.