Results 1 to 2 of 2

Thread: C programming WinAPI32 - How do I get a windows HWND and send it messages?

  1. #1
    Join Date
    Jan 2015
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default C programming WinAPI32 - How do I get a windows HWND and send it messages?

    1. How do I send messages and get handlers to other windows in QT ?
    2. Any videos on basics such as settings strings to messagebox \ labels \ input fields etc ??


    I've googled this but am not getting any straight answers so I registered here.

    ANy videos on this by chance? Can I build windows programs while on my Ubuntu laptop ? What's the problems I will face?
    Can I run them with Wine and it will work all the same?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: C programming WinAPI32 - How do I get a windows HWND and send it messages?

    The Qt library does not stop you accessing any part of the Windows API to obtain a Windows handle to a remote window and do anything the API allows. You do this is in the same fashion as shown in any Windows API tutorial - it has little to nothing to do with Qt.

    You can build Windows programs on Linux boxes using the MingW suite to cross-compile. You may be able to run the resulting binary in Wine, and you may get the same result as a real Windows bo it depends on whether you stay with in the limitations of Wine.

Similar Threads

  1. Converting from Qt's WId to Windows HWND?
    By ComServant in forum Newbie
    Replies: 3
    Last Post: 27th December 2012, 18:26
  2. Get Windows Messages
    By METEOR7 in forum Qt Programming
    Replies: 7
    Last Post: 2nd January 2012, 17:27
  3. Replies: 19
    Last Post: 3rd January 2011, 21:53
  4. Replies: 6
    Last Post: 10th October 2010, 23:15
  5. how to send broadcast messages in networkadapters
    By jeo in forum Qt Programming
    Replies: 3
    Last Post: 26th March 2009, 10:17

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.