Nindowsライブラリ - ウィンドウ作成関数

nwCreateEditWindow

エディットウィンドウの作成

書式

NWHWND nwCreateEditWindow( lines, *caption, style, x, y, w, h, hWndParent ) 
Sint32 lines 
Sint8 *caption 
Sint32 style 
Sint32 x 
Sint32 y 
Sint32 w 
Sint32 h 
NWHWND hWndParent 

引数

lines   テキストの最大行数
caption   ウィンドウ名(キャプション)文字列
style   ウィンドウスタイル
x,y   クライアント領域の左上座標
w,h   クライアント領域の幅と高さ
hWndParent   親ウィンドウハンドル

戻り値

成功   エディットウィンドウのハンドル
失敗   NULL

解説

エディットウィンドウを作成し、テキストバッファを確保します。

用例

NWHWND hWnd;
hWnd = nwCreateEditWindow(500, "Edit Window",
	NWD_WS_CAPTION | NWD_WS_CONTROL
	 | NWD_WS_BORDER | NWD_WS_SHADING,
	50, 50, 150, 100, NULL);

参照

nwDestroyWindow()
nwCreateMenuWindow()
nwCreateScrollBar()
nwCreateButton()

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