鍏稿瀷鐨勪緥瀛? for ( int i=0; i<100000; i++); 榪欎釜璇彞鐢ㄦ潵嫻嬭瘯絀哄驚鐜殑閫熷害鐨? 浣嗘槸緙栬瘧鍣ㄨ偗瀹氳鎶婂畠浼樺寲鎺夛紝鏍規(guī)湰灝變笉鎵ц 濡傛灉浣犲啓鎴?nbsp; for ( volatile int i=0; i<100000; i++); 瀹冨氨浼氭墽琛屼簡
]]>SetWindowPoshttp://www.shnenglu.com/geforcex/archive/2006/03/01/3605.htmlgeforceXgeforceXWed, 01 Mar 2006 09:30:00 GMThttp://www.shnenglu.com/geforcex/archive/2006/03/01/3605.htmlhttp://www.shnenglu.com/geforcex/comments/3605.htmlhttp://www.shnenglu.com/geforcex/archive/2006/03/01/3605.html#Feedback0http://www.shnenglu.com/geforcex/comments/commentRss/3605.htmlhttp://www.shnenglu.com/geforcex/services/trackbacks/3605.html
BOOL SetWindowPos( const CWnd* pWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags );
Parameters
pWndInsertAfter
Identifies the CWnd object that will precede this CWnd object in the Z-order. This parameter can be a pointer to a CWnd or a Pointer to one of the following values:
wndBottom Places the window at the bottom of the Z-order. If this CWnd is a topmost window, the window loses its topmost status; the system places the window at the bottom of all other windows.
wndTop Places the window at the top of the Z-order.
wndTopMost Places the window above all nontopmost windows. The window maintains its topmost position even when it is deactivated.
wndNoTopMost Repositions the window to the top of all nontopmost windows (that is, behind all topmost windows). This flag has no effect if the window is already a nontopmost window.
nFlags
Specifies sizing and positioning options. This parameter can be a combination of the following: 甯哥敤鐨勬槸SWP_SHOWWINDOW
]]>MoveWindowhttp://www.shnenglu.com/geforcex/archive/2006/02/28/3574.htmlgeforceXgeforceXTue, 28 Feb 2006 07:44:00 GMThttp://www.shnenglu.com/geforcex/archive/2006/02/28/3574.htmlhttp://www.shnenglu.com/geforcex/comments/3574.htmlhttp://www.shnenglu.com/geforcex/archive/2006/02/28/3574.html#Feedback0http://www.shnenglu.com/geforcex/comments/commentRss/3574.htmlhttp://www.shnenglu.com/geforcex/services/trackbacks/3574.html鍒氬仛鐨勯偅涓蔣浠剁晫闈㈠緢閲嶈錛屽氨璞℃槸鎶婅嚜宸卞仛鐨勪竴涓釜鎺т歡緗戜笂鐢諱竴鏍鳳紝榪樿鎸夌収瀹為檯榪愯鏁堟灉鏉ヤ笉鏂皟鏁翠綅緗紝寰堥夯鐑︺傚綋鏃朵嬌鐢∕oveWindow()榪欎釜鍑芥暟鏉ユ帶鍒跺璇濇鐨勫ぇ灝忓拰浣嶇疆錛屼笉浜嗚В鍙傛暟鎯呭喌錛屽湪緗戜笂鏌ヤ簡錛岃寰楀ソ璞℃斁鍦ㄨ繖閲屽蹇橈紝閭f椂榪樿寰梑log鐪熸槸鏂逛究銆傜粨鏋滅幇鍦ㄥ張瑕佺敤璧瘋繖涓嚱鏁板嵈鍙堟壘涓嶅埌浜嗭紒涓嶇煡閬撴槸涓嶆槸鏀懼湪榪欎釜blog閲屼簡銆傜湅鏉log澶氫簡榪樹笉鏂逛究浜嗐備笉榪囦笉瑕佽浼氾紝閭d簺閮芥槸浠ュ墠鎵懼埌榪欎釜blog涔嬪墠鏆傛椂鐢ㄧ殑錛岄兘涓嶅お婊℃剰銆傛渶鍚庤寰楄繕鏄繖閲屽ソ錛宧oho錛屾柟渚褲傛檿錛屾垜鏉ュ啓榪欑瘒鏃ュ織鏄共鍚楃殑錛熻繖涔堟壇鍒拌繖涔堣繙浜嗐傘傘備笉璇翠簡錛岃繕鏄妸MoveWindow()鍐嶈創(chuàng)涓涓嬪惂銆傘?/P>
BOOL MoveWindow ( HWND hWnd, //Handle to the window int X, //Specifies the new position of the left side of the window. int Y, //Specifies the new position of the top of the window. int nWidth, int nHeight, BOOL bRepaint );