开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜