NWHWND nwFindWindowByPos( x, y ) Sint16 x Sint16 y
x,y | スクリーン座標 |
成功 | ウィンドウハンドル |
失敗 | NULL |
/* 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 */ }