hello, i wont load window position and sice from a file, at start. I use video_window to change the window parameter. in the code underneath I have nearly same resolutions, but I get my panel double sizes . what do video_window in realy?
I have nowI have zip the project hereI have download the project here https://www.dropbox.com/s/3mxkdgxwnniiuvs/WindowVectors.zip?dl=0 It is a empty project. You can activate with esc the esc_menue an closet these by the smal button on the bottom right sight of the window. for the scale mode you click on the middle botton, in posmode, you can switch beween change size or window position by the righn mouse botton, by clicking LMT you acept the window POS and Size. my problem is now, how can I make, the mouse is staying in the game window?
void lock_mouse() //keep mouse in game window { RECT rect; GetClientRect(hWnd,&rect); ClientToScreen(hWnd,&rect); ClientToScreen(hWnd,&rect.right); ClipCursor(&rect);