I rewrite application from Qt 4.8 to 5.0.1 and I have big trouble. In Qt 5.0.1 version there is no GetDC()
function (with no argument). GetDC(hwnd)
exist but I have no hwnd
. What should I do? Please help. On google there is no information about it.
-
4I solved my problem. HWND hwnd = (HWND)this->winId(); and GetDC(hwnd);– user1677686Commented Mar 7, 2013 at 10:10
-
2You might add this as an answer instead of a comment. You can then mark it as answered. You get extra points for it too– JayCommented Sep 11, 2013 at 16:38
Add a comment
|