NWHWND nwFindWindowByPos( x, y )
Sint16 x
Sint16 y
x スクリーンX座標 y スクリーンY座標
成功 ウィンドウハンドル 失敗 NULL
指定されたスクリーン座標(x, y)に、ウィンドウが表示されているかどうかを調べます。
/* Checks to see if the window is displayed at the coordinates of the mouse cursor */ Sint32 x, y; nwGetMousePosition( &x, &y ); if ( nwFindWindowByPos( x, y ) != NULL ){ /* The window is displayed */ } else { /* The window is not displayed */ }
nwFindWindow()
ウィンドウの検索