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.
精彩评论