2009-08-30 17:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* contrib/hbwin/wapi_winuser.c
    + Added two more functions.
This commit is contained in:
Pritpal Bedi
2009-08-31 00:24:33 +00:00
parent 9784c30523
commit f8f8ef00b7
2 changed files with 14 additions and 0 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-08-30 17:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbwin/wapi_winuser.c
+ Added two more functions.
2009-08-30 17:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/gtwvg.c
! A small fix in caret handelling. Under certain circumstances,

View File

@@ -310,3 +310,13 @@ HB_FUNC( WAPI_LOADBITMAP )
}
#endif
/*----------------------------------------------------------------------*/
HB_FUNC( WAPI_GETACTIVEWINDOW )
{
hb_retptr( GetActiveWindow() );
}
/*----------------------------------------------------------------------*/
HB_FUNC( WAPI_SETACTIVEWINDOW )
{
hb_retptr( SetActiveWindow( wapi_par_HWND( 1 ) ) );
}
/*----------------------------------------------------------------------*/