What's the proper method of converting the result from QWidget::winID(), to a HWND__*?
QWidget's WId is defined as:
typedef QIntegerForSizeof<void*>::Unsigned quintptr;
typedef QT_PREPEND_NAMESPACE(quintptr) WId;
typedef QIntegerForSizeof<void*>::Unsigned quintptr;
typedef QT_PREPEND_NAMESPACE(quintptr) WId;
To copy to clipboard, switch view to plain text mode
Currently, I'm just doing:
HWND handle = (HWND)this->windID();
HWND handle = (HWND)this->windID();
To copy to clipboard, switch view to plain text mode
Is that the correct method?
Bookmarks