WinAPI: Create a window with a specified client area size

后端 未结 1 1952
醉酒成梦
醉酒成梦 2021-02-03 20:10

I was wondering how can I create a window using Win32 API with a specific client area size.

When trying to create a window using the following piece of code, th

1条回答
  •  感情败类
    2021-02-03 20:21

    You can use the AdjustWindowRect or AdjustWindowRectEx function to calculate the window size given a desired client area size.

    0 讨论(0)
提交回复
热议问题