Hello there - tried to find that by my own but couldnt.
I modify my window propertys with user32 calls to activate the maximize button and the scalability of the window.
This works, but the window frame and buttons arent refreshed (the maximize button is still grey).
I tried to do the following :
hWindow = api_getactivewindow()
api_RedrawWindow(hwindow,0,0,UPDATENOW)
with :
const updatenow =$100
the decl :
api_GetWindow% (hwnd%, wCmd%) : "GetWindow"
api_RedrawWindow% (hwnd%, lprcUpdate%, hrgnUpdate%, fuRedraw%) : "RedrawWindow"
What am I missing ? :3
I modify my window propertys with user32 calls to activate the maximize button and the scalability of the window.
This works, but the window frame and buttons arent refreshed (the maximize button is still grey).
I tried to do the following :
hWindow = api_getactivewindow()
api_RedrawWindow(hwindow,0,0,UPDATENOW)
with :
const updatenow =$100
the decl :
api_GetWindow% (hwnd%, wCmd%) : "GetWindow"
api_RedrawWindow% (hwnd%, lprcUpdate%, hrgnUpdate%, fuRedraw%) : "RedrawWindow"
What am I missing ? :3