Hi Bo,

On Thursday 20 December 2012 12:11:43 Bo Thorsen wrote:
> Hi everyone,
> 
> In Qt4, WId was a platform independent window handle. On Windows this
> was just a typedef from HWND. But in Qt5, that's no longer the case.

Take a look at:

virtual QPlatformNativeInterface *QWindowsIntegrationnativeInterface() const

and

void *QWindowsNativeInterface::nativeResourceForWindow(const QByteArray 
&resource, QWindow *window)

in src/plugins/windows. With the QWindowsNativeInterface you can obtain the 
native HWND and device context I think.

Cheers,

Sean
--
Dr Sean Harmer | [email protected] | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to