Nindowsライブラリ - ウィンドウサポート関数

nwSetWindowSize

ウィンドウザイズの指定

書式

Bool nwSetWindowSize( hWnd, w, h ) 
NWHWND hWnd 
Sint32 w 
Sint32 h 

引数

hWnd   ウィンドウハンドル
w,h   クライアント領域の幅と高さ

戻り値

TRUE   成功
FALSE   失敗

解説

ウィンドウのザイズを指定します。 (w,h)がクライアント領域の幅と高さになります。

用例

/* Changes the width and height
   of the window's client area to (128, 64) */
nwSetWindowSize(hWnd, 128, 64);

nwSetWindowSize
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999