Hola a todos, compa帽eros
Podr铆a alguien, por favor, enviarme el c贸digo de GetDesktopArea()
Tengo la versi贸n FWH 17.11 y al parecer esta funci贸n est谩 incluida a partir de la versi贸n 17.12
Mil gracias.
LORENZO.
Hola a todos, compa帽eros
Podr铆a alguien, por favor, enviarme el c贸digo de GetDesktopArea()
Tengo la versi贸n FWH 17.11 y al parecer esta funci贸n est谩 incluida a partir de la versi贸n 17.12
Mil gracias.
LORENZO.
HB_FUNC( GETDESKTOPAREA )
{
RECT rct;
SystemParametersInfo( SPI_GETWORKAREA, 0, &rct, 0 );
hb_reta( 4 );
hb_storvnl( rct.top, -1, 1 );
hb_storvnl( rct.left, -1, 2 );
hb_storvnl( rct.bottom, -1, 3 );
hb_storvnl( rct.right, -1, 4 );
} 聽 DEFINE WINDOW ::oWnd STYLE nOr( WS_POPUP, WS_VISIBLE ) COLOR CLR_WHITE, CLR_BLACK
ACTIVATE WINDOW ::oWnd MAXIMIZED#include "Fivewin.ch"
FUNCTION MAIN()
WQOUT( GETDESKTOPAREA() )
RETURN NIL
#pragma BEGINDUMP
#include "windows.h"
#include "hbapi.h"
#ifdef __XHARBOUR__
#define hb_storvnl( v, x, y ) hb_stornl( v, x, y )
#endif
HB_FUNC( GETDESKTOPAREA )
{
RECT rct;
SystemParametersInfo( SPI_GETWORKAREA, 0, &rct, 0 );
hb_reta( 4 );
hb_storvnl( rct.top, -1, 1 );
hb_storvnl( rct.left, -1, 2 );
hb_storvnl( rct.bottom, -1, 3 );
hb_storvnl( rct.right, -1, 4 );
}
#pragma ENDDUMP