Win32 Application
-
I am using the Win32 API to create an application to assist in making a custom .font file format for a game I am making. It is a SDI application. Although my question may seem simple, I was unable to find anyway of doing it, or maybe searching for the wrong thing, I don't know. Anyway, I want to be able to programatically change the size of the window, at run time. I have a title bar, menu, and borders, and I don't want to have them included when resizing. By that I mean, for example, I wanted to resize the window to 500 pixels by 500 pixels, the white space in between (not including) the menu and borders would be 500 pixels by 500 pixels. Also, I want to disable the user from resizing the application. Anyone have any ideas? Thank you -Dev578
-
I am using the Win32 API to create an application to assist in making a custom .font file format for a game I am making. It is a SDI application. Although my question may seem simple, I was unable to find anyway of doing it, or maybe searching for the wrong thing, I don't know. Anyway, I want to be able to programatically change the size of the window, at run time. I have a title bar, menu, and borders, and I don't want to have them included when resizing. By that I mean, for example, I wanted to resize the window to 500 pixels by 500 pixels, the white space in between (not including) the menu and borders would be 500 pixels by 500 pixels. Also, I want to disable the user from resizing the application. Anyone have any ideas? Thank you -Dev578
Perhaps
AdjustWindowRect[Ex]
? -- The Blog: Bits and Pieces