Results 1 to 10 of 10

Thread: Qt and the Win32 API.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Nov 2009
    Posts
    129
    Thanks
    4
    Thanked 29 Times in 29 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt and the Win32 API.

    This is similar to (though more complex than) a problem on which I’m working. The HWND part is pretty simple.

    If you create and instantiate a class derived from QWidget, you can use QWidget::winId to get an HWND (assuming you’re sure you’re running under Windows, of course). It doesn’t matter that you don’t want to see the window... you just never show it. Use QWidget::winEvent to capture the messages.

  2. The following user says thank you to Coises for this useful post:

    hickscorp (23rd January 2010)

Similar Threads

  1. how to use Qt dll in Win32 project
    By Fastman in forum Qt Programming
    Replies: 8
    Last Post: 10th July 2009, 12:16
  2. QT app on several win32 computers
    By mmickey in forum Qt Programming
    Replies: 1
    Last Post: 12th June 2009, 11:42
  3. win32 api
    By weixj2003ld in forum Newbie
    Replies: 1
    Last Post: 17th April 2009, 07:46
  4. arg!!!! QProcess on win32
    By gfunk in forum Qt Programming
    Replies: 7
    Last Post: 27th January 2008, 18:40
  5. Qt Themes on win32? how?
    By Thaorius in forum Qt Programming
    Replies: 2
    Last Post: 2nd September 2007, 00:45

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
  •  
Qt is a trademark of The Qt Company.