Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#Actualwh1sp3rik

Posted 18 July 2013 - 11:10 AM

Yep smile.png problem solved.

RECT realWindowSize = {0, 0, width, height};
AdjustWindowRect(&realWindowSize, WS_OVERLAPPEDWINDOW, FALSE);
HWND WindowHandle = CreateWindowEx(NULL, L"CLASSNAME", (LPWSTR) "WINDOWTITLE",WS_OVERLAPPEDWINDOW,300,300,realWindowSize.right-realWindowSize.left,realWindowSize.bottom - realWindowSize.top,NULL,NULL,wc.hInstance,NULL);
		

#1wh1sp3rik

Posted 18 July 2013 - 11:09 AM

Yep :) problem solved.

RECT realWindowSize = {0, 0, width, height};
AdjustWindowRect(&realWindowSize, WS_OVERLAPPEDWINDOW, FALSE);
HWND WindowHandle = CreateWindowEx(NULL, L"CLASSNAME", (LPWSTR) "WINDOWTITLE",WS_OVERLAPPEDWINDOW,300,300,realWindowSize.right-RealWindowSize.left,realWindowSize.bottom - realWindowSize.top,NULL,NULL,wc.hInstance,NULL);
		

PARTNERS