Sint32 nwGetWindowText( hWnd, caption, size )
NWHWND hWnd
char *caption
Sint32 size
hWnd ウィンドウハンドル caption ウィンドウキャプション文字列を格納するバッファアドレス size バッファサイズ
TRUE 成功 FALSE 失敗
ウィンドウのキャプションバーに表示されるキャプション文字列を取得し、指定のバッファにコピーします。
/* Gets the window hWnd's in buf */ Sint8 buf[256]; nwGetWindowText(hWnd, buf, sizeof(buf));