Results 1 to 9 of 9

Thread: HWND on Win32 API to Qt widget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2014
    Posts
    4
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default HWND on Win32 API to Qt widget

    I've write win32 API program but GUI creating is too hard and ugly for me.
    So I want Qt GUI but I have to use Win32 command.

    How to convert HWND on Win32 API to Qt widget?
    I know that I have to use QWidget::winId().
    but I don’t know how to write it
    Please give me an example.

    Thanks
    Last edited by delio; 26th March 2014 at 10:10.

Similar Threads

  1. hwnd to qwidget setparent error
    By cic in forum Qwt
    Replies: 1
    Last Post: 27th August 2013, 14:40
  2. Converting from Qt's WId to Windows HWND?
    By ComServant in forum Newbie
    Replies: 3
    Last Post: 27th December 2012, 18:26
  3. Get HWND of QGLWidget
    By pl01 in forum Newbie
    Replies: 2
    Last Post: 19th December 2010, 21:18
  4. Reparenting widget to Win32 application
    By RThaden in forum Qt Programming
    Replies: 0
    Last Post: 23rd February 2009, 18:21
  5. Can I paint on Qt widget by invoking win32 sdk api?
    By mendynew in forum Qt Programming
    Replies: 2
    Last Post: 25th March 2008, 01:33

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.