NWHWND nwCreateScrollBar( type, *caption, x, y, w, h, hWndParent ) Sint32 type Sint8 *caption Sint32 x Sint32 y Sint32 w Sint32 h NWHWND hWndParent
type | スクロールバーのタイプ |
*caption | スクロールバーのキャプション文字列 |
x,y | スクロールバーを作成する座標(親ウィンドウ相対) |
w,h | スクロールバー幅と高さ |
hWndParent | 親ウィンドウのウィンドウハンドル |
成功 | クロールバーコントロールのウィンドウハンドル |
失敗 | NULL |
スクロールバーのタイプを指定する引数 type には次の値を指定します。
定義 | 意味 |
NWD_WS_SB_HORZ | 水平スクロールバー |
NWD_WS_SB_VERT | 垂直スクロールバー |
NWHWND hScl = nwCreateScrollBar(NWD_WS_SB_HORZ, "Alpha Sroll", 80, 3, 200, 11, hWndParent);