阅读背景:

克服操作系统强加的Windows窗体最小大小限制

来源:互联网 

In an application I am developing, I need to be able to make a windows form smaller than the minimum height limit imposed by the operating system (36 px in Vista). I have tried intercepting WM_GETMINMAXINFO and providing my own information to override the OS limits, but this only works for the user. From code I can set the height to a value smaller than the limit, but my change only works until WM_WINDOWPOSCHANGED is posted to the message queue (which happens just after I change the height).In an application I am developing, I need to be




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: