Search found 2 matches: cbsize

Searched query: cbsize

by Willi Quintana
Fri Oct 04, 2024 4:03 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Usar dos monitores, mostrar cosas diferentes
Replies: 8
Views: 1133

Re: Usar dos monitores, mostrar cosas diferentes

... hb_storvni( int iValue, int iParam, int iIndex );
#endif


HB_FUNC( GETRECTNEXTMONITOR )
{

POINT pt;
HMONITOR hMon;
MONITORINFO pmi;

pmi.cbSize = sizeof( MONITORINFO );

pt.x = hb_parvnl( 1, 4 ) + 1;
pt.y = hb_parvnl( 1, 1 );

hMon = MonitorFromPoint( pt, MONITOR_DEFAULTTONULL );

if ...
by russimicro
Fri Apr 19, 2024 9:37 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda C++ : SOLUCIONADO
Replies: 12
Views: 2023

Re: Ayuda C++ : SOLUCIONADO

... HDC hDC = (HDC) hb_parnl(1) ;
LPDOCINFO sDoc = NULL;
BOOL Result = FALSE ;
if (hDC )

{
sDoc = (LPDOCINFO) hb_xgrab(sizeof(DOCINFO));

sDoc->cbSize= sizeof(DOCINFO) ;
sDoc->lpszDocName= hb_parc(2) ;
sDoc->lpszOutput = hb_parc(3) ;
sDoc->lpszDatatype= NULL ;
sDoc->fwType = 0 ;
Result ...