|
// *********************************************************
// ウインドウ位置の変更
// 戻り値 : 成功 true, 失敗 false
// *********************************************************
BOOL LboxMoveWindow( HWND hWnd, int x, int y )
{
BOOL bRet;
bRet = SetWindowPos(
hWnd,
NULL,
x,
y,
0,
0,
SWP_NOSIZE |
SWP_NOZORDER
);
if ( !bRet ) {
return false;
}
return true;
}
| |