取操作系统开始工具栏的高度
如题
[解决办法]
声明API
FUNCTION ulong FindWindow(ref string lpClassName,ref string lpWindowName) LIBRARY "user32.dll" ALIAS FOR "FindWindowA" FUNCTION ulong GetClientRect(ulong hwnd,ref RECT lpRect) LIBRARY "user32.dll"
[解决办法]
在 Getwnd = FindWindow( ls_classname, ls)
前加上 SetNull(ls) 试试