I'm trying to create a resizeable window which always stays in the centre of the screen (the user can expand/contract the window with keypresses, not by dragging the mouse).
I've had a hard time working out why the window isn't being centred properly, and I think it may be down to client co-ordinates being used.
I know that ClientWidth/Height return the value without borders, but what's the relevance of setting up a window with client co-ordinates int he style flag?
I've had a hard time working out why the window isn't being centred properly, and I think it may be down to client co-ordinates being used.
I know that ClientWidth/Height return the value without borders, but what's the relevance of setting up a window with client co-ordinates int he style flag?