HWND on Win32 API to Qt widget
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.
If you are asking how to find the QWidget which has HWND x,
QWidget* theWidget = QWidget::find((WId)x);
If you are asking how to find the HWND associated with a QWidget x,
HWND foo = x.effectiveWinId ();