qt - QWidget::find(hwnd) always returning 0 -
I am holding the window handle with the following code:
hwnh hwnd = FindWindow (El "quewizette", tap);
And it gives a QWidget for an HWND (I've checked with Spy ++, Match Handle). But after that, if I try the following:
QWidget * widget = QWidget :: find (hwnd);
or
QWidget * Widget = QWidget :: find ((wId) hwnd);
The widget is always 0. Does anyone know why? Am I using QWidget :: find ()?
Thanks,
Dave
Hull: In debug Compiled, so QtGui4d.dll was loaded instead of QtGui4.dll
Comments
Post a Comment