|
// *********************************************************
// ウインドウサイズの変更
// 戻り値 : 成功 true, 失敗 false
// *********************************************************
BOOL LboxChangeWindowSize( HWND hWnd, int w, int h )
{
BOOL bRet;
bRet = SetWindowPos(
hWnd,
NULL,
0,
0,
w,
h,
SWP_NOMOVE |
SWP_NOZORDER
);
if ( !bRet ) {
return false;
}
return true;
}
| |