可以用:setwindowspos()和setwindowslong()实现,具体用法查看msdn
BOOL SetWindowPos( HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags );LONG SetWindowLong(
HWND hWnd, // handle to window
int nIndex, // offset of value to set
LONG dwNewLong // new value
);
另外:
http://www.csdn.net/expert/topic/640/640646.xml?temp=.405987
帮忙推一把 !谢了。
BOOL SetWindowPos( HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags );LONG SetWindowLong(
HWND hWnd, // handle to window
int nIndex, // offset of value to set
LONG dwNewLong // new value
);
另外:
http://www.csdn.net/expert/topic/640/640646.xml?temp=.405987
帮忙推一把 !谢了。
GetSystemMenu().
pSysMenu->RemoveMenu(SC_CLOSE, MF_BYCOMMAND);
SetWindowPos(&wndTopMost, 0, 0,0, 0, SWP_NOMVOE | SWP_NOSIZE);