Search found 744 matches: null

Return to advanced search

... sigue: { m_htheme = OpenThemeData(hwnd, L"Button"); if (m_htheme) { DrawThemeBackground(m_htheme, hdc, BP_RADIOBUTTON, RBS_CHECKEDNORMAL, &rc, NULL); CloseThemeData(m_htheme); m_htheme = NULL; } else { DrawFrameControl(hdc, &rc, DFC_BUTTON, DFCS_BUTTONRADIO | DFCS_CHECKED); }; Para más ...
by César E. Lozada
Sun Dec 21, 2008 4:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar array a una función C
Replies: 10
Views: 1890

... ) { HWND hWnd = ( HWND ) _parnl( 1 ) ; HDC hDC = ( HDC ) _parnl( 2 ) ; HWND hWndParent = GetParent( hWnd ) ; HDC hDcParent = GetDCEx( hWndParent, NULL, DCX_PARENTCLIP ) ; RECT rct ; POINT pt ; GetWindowRect( hWnd, &rct ) ; pt.y = rct.top ; pt.x = rct.left ; ScreenToClient( hWndParent, &pt ...
by antolin
Sat Dec 20, 2008 11:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: bitmap transparente
Replies: 4
Views: 1286

Wish: Function to show any type of data

... Alert() but show: Objects(name, type) String(value,len,OEM/ANSI) Numeric(value) Date(value) Array(value of each data, even if multidimensional) Null(show a message tha it's nil with a different color) I think that it can be done easily and will give a help to many developpers.
by sambomb
Fri Dec 19, 2008 1:40 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Wish: Function to show any type of data
Replies: 9
Views: 3189

MicroSoft Flight Simulator and FSUIPC

... = FSUIPC_FS_Version = 0; // Connect via FSUIPC, which is known to be FSUIPC's own // and isn't subject to user modificiation m_hWnd = FindWindowEx(NULL, NULL, "UIPCMAIN", NULL); if (!m_hWnd) { // If there's no UIPCMAIN, we may be using WideClient // which only simulates FS98 m_hWnd = FindWindowEx(NULL, ...
by alvaro533
Wed Dec 17, 2008 11:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MicroSoft Flight Simulator and FSUIPC
Replies: 1
Views: 1152

MicroSoft Flight Simulator y FSUIPC

... = FSUIPC_FS_Version = 0; // Connect via FSUIPC, which is known to be FSUIPC's own // and isn't subject to user modificiation m_hWnd = FindWindowEx(NULL, NULL, "UIPCMAIN", NULL); if (!m_hWnd) { // If there's no UIPCMAIN, we may be using WideClient // which only simulates FS98 m_hWnd = FindWindowEx(NULL, ...
by alvaro533
Wed Dec 17, 2008 9:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MicroSoft Flight Simulator y FSUIPC
Replies: 1
Views: 1442

DLL de terceros y definición de funciones.

... a TER window, please refer to the CreateTerWindow function. Return Value: This function returns the window handle of the new window. It returns NULL if the window creation fails. ******************************** y yo la intento 'definir' así: DLL32 FUNCTION TerCreateWindowAlt( x AS LONG, ; y ...
by FiveWiDi
Tue Dec 09, 2008 7:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL de terceros y definición de funciones.
Replies: 2
Views: 607

... Ron Pinkas <ron@ronpinkas.com> * source/rtl/win32ole.prg + Now allows return parameter to return OLE object. + Added support for SQL NULL. - Removed the need for :End() deinitialization is automated. * tests/pp.prg + Added (under #ifdef WIN): EXTERN CreatObject * tests/testole.prg ...
by Enrico Maria Giordano
Mon Dec 01, 2008 11:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Destroy Objects created using CreateObject()
Replies: 4
Views: 790

Como adiciono esta funcion a mi ejecutable

... #include <windows.h> CLIPPER ISEXERUNNING( PARAMS ) // ( cExeNameCaseSensitive ) --> lResult { HANDLE hMutex = CreateMutex( NULL, TRUE, ( LPTSTR ) _parc( 1 ) ); _retl( GetLastError() == ERROR_ALREADY_EXISTS ); ReleaseMutex( hMutex ); } #pragma ENDDUMP hago esto pero no lo ...
by Vladimir Zorrilla
Thu Nov 27, 2008 9:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como adiciono esta funcion a mi ejecutable
Replies: 1
Views: 495

Problema con al descargar un fichero por ftp

... hb_parnl( 4 ), hb_parnl( 5 ) ) ); hb_xfree( cLocalFile ); hb_xfree( cNewRemoteFile ); } HB_FUNC (GPRSCONNECT) { HANDLE phWebConnection = NULL; DWORD pdwStatus = 0; ConnMgrConnectionStatus (phWebConnection, &pdwStatus); if (pdwStatus == CONNMGR_STATUS_CONNECTED) { hb_retnl( (long) ...
by Elias Torres
Thu Nov 20, 2008 11:18 am
 
Forum: FiveWin para Pocket PC
Topic: Problema con al descargar un fichero por ftp
Replies: 9
Views: 2991

Uwe,

I guess you are using a NULL brush, so there is no background brush and the one from the main dialog is seen
by Antonio Linares
Thu Oct 30, 2008 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Checkbox and Radio are not transparent!?
Replies: 60
Views: 9897

Maurizio,

Try this:

PDC_ExtTextOut(hPrDC,100,100, 0, NULL, wName, 31, NULL);

I think that the problem is
TCHAR * wName = ( TCHAR * ) hb_xgrab( 31 );
by Antonio Linares
Mon Oct 27, 2008 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert hb_parc() in LPTSTR
Replies: 25
Views: 5787

Antonio ,

doesn't works :( ,

I try also :
PDC_ExtTextOut(hPrDC,100,100, 0, NULL, wName, 15, NULL);

I think that the problem is
TCHAR * wName = ( TCHAR * ) hb_xgrab( len * sizeof( TCHAR ) );

Thank Maurizio
by Maurizio
Mon Oct 27, 2008 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert hb_parc() in LPTSTR
Replies: 25
Views: 5787

Maurizio,

Please try this:

TCHAR * wName = ( TCHAR * ) hb_xgrab( len * sizeof( TCHAR ) );

MultiByteToWideChar( CP_ACP, 0 ,pW , -1 , wName, sizeof( wName ) / sizeof( wName[ 0 ] ) );
PDC_ExtTextOut(hPrDC,100,100, 0, NULL, wName, len * sizeof( TCHAR ) , NULL);
by Antonio Linares
Mon Oct 27, 2008 5:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert hb_parc() in LPTSTR
Replies: 25
Views: 5787

... wName[sizeof(pW)]; MultiByteToWideChar( CP_ACP, 0 ,pW , -1 , wName, sizeof( wName ) / sizeof( wName[ 0 ] ) ); PDC_ExtTextOut(hPrDC,200,200, 0, NULL, wName, _tcslen(wName) , NULL); Antonio, it is correct ? About the DC : There are not a function to release the DC but a function that close the ...
by Maurizio
Tue Oct 21, 2008 10:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert hb_parc() in LPTSTR
Replies: 25
Views: 5787

Next MySQL Question

... the same table? This is my code: function neue_tabelle() local cExec cExec := "CREATE TABLE test ("+; "id INT NOT NULL AUTO_INCREMENT, "+; "name VARCHAR(50), "+; "place VARCHAR(50), "+; "PRIMARY KEY (id) )" ...
by gkuhnert
Sat Sep 27, 2008 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Next MySQL Question
Replies: 3
Views: 872
PreviousNext

Return to advanced search