开发者

Is there a way to programmatically set window size to be bigger than display resolution?

开发者 https://www.devze.com 2023-01-05 07:51 出处:网络
I have run into a weird necessity to make a certain window in the system of a really big height, one that is larger than my display\'s resolution. I have written a simple WinAPI program that sets a wi

I have run into a weird necessity to make a certain window in the system of a really big height, one that is larger than my display's resolution. I have written a simple WinAPI program that sets a window size by calling SetWindowPos and I have encountered that if the height is greater than current display's resolution, then it is simply set to be equal to screen height.

This is obviously some Windows trick and I am wondering if there is a way to override that and set an arbitrary 开发者_JS百科size for the window.


You need to implement a message handler for WM_MINMAXINFO.

0

精彩评论

暂无评论...
验证码 换一张
取 消