Search found 36 matches: dwflags

Return to advanced search

Re: Controlar tamaño ventana cGetfile

... que usar OFN_ENABLESIZING para poder redimensionar la caja de diálogo. Este valor lo recibe la función cGetFile() en el séptimo parámetro: DWORD dwFlags = IF( hb_pcount() > 6 && HB_ISNUM( 7 ), hb_parnl( 7 ), 2060 ); No lo he probado, solo me he limitado a buscar esa información. Otra ...
by Antonio Linares
Wed Dec 30, 2020 2:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Controlar tamaño ventana cGetfile [SOLUCIONADO]
Replies: 13
Views: 1001

Re: Menu doesn't work CE 6.0

... mbi.dwFlags = SHCMBF_HMENU; // Adding this line should solve the problem
by Antonio Linares
Mon Sep 10, 2018 11:27 am
 
Forum: FiveWin for Pocket PC
Topic: Menu doesn't work CE 6.0
Replies: 22
Views: 13278

Re: C wrapper help

... need the whole .h file let me know. typedef struct _SMSPROVIDERW { INT nProviderId; INT nCountryCode; INT nRegionCode; INT nMessageLength; DWORD dwFlags; DWORD dwReserved; WCHAR szGuid[SMS_MAXPROVIDERGUIDLEN]; WCHAR szName[SMS_MAXPROVIDERNAMELEN]; WCHAR szCompany[SMS_MAXCOMPANYNAMELEN]; WCHAR ...
by Randal
Tue Oct 18, 2016 5:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: C wrapper help
Replies: 16
Views: 3269

Re: Descargando archivos via FTP

... INTERNET_PORT nServerPort,  _In_ LPCTSTR       lpszUsername,  _In_ LPCTSTR       lpszPassword,  _In_ DWORD         dwService,  _In_ DWORD         dwFlags,  _In_ DWORD_PTR     dwContext); dwFlags [in] Options specific to the service used. If dwService is INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE ...
by Biel EA6DD
Thu Sep 01, 2016 8:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Descargando archivos via FTP
Replies: 5
Views: 1305

Re: Resolucion en pantalla

... AS BOOL PASCAL; FROM "EnumDisplaySettingsA" LIB "User32.dll" DLL32 STATIC FUNCTION ChangeDisplaySettings(@lpDevMode AS LPSTR,; dwFlags AS DWORD) AS DWORD PASCAL; FROM "ChangeDisplaySettingsA" LIB "User32.dll" DLL32 FUNCTION ExitWindowsEx(uFlags AS DWORD,; ...
by russimicro
Thu Aug 13, 2015 1:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resolucion en pantalla
Replies: 7
Views: 2600

Tengo un mensqje de error en bcc582

... PROPSHEETPAGE_RESOURCE; #else typedef const VOID* PROPSHEETPAGE_RESOURCE; #endif #define PROPSHEETPAGEA_V1_FIELDS \ DWORD dwSize; \ DWORD dwFlags; \ HINSTANCE hInstance; \ union \ { \ LPCSTR pszTemplate; \ PROPSHEETPAGE_RESOURCE pResource; \ } DUMMYUNIONNAME; \ union \ { \ HICON hIcon; ...
by Armando Picon
Thu Aug 14, 2014 12:08 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Tengo un mensqje de error en bcc582
Replies: 2
Views: 1565

Re: CAMBIO RESOLUCION PANTALLA

... AS BOOL PASCAL; FROM "EnumDisplaySettingsA" LIB "User32.dll" DLL32 STATIC FUNCTION ChangeDisplaySettings(@lpDevMode AS LPSTR,; dwFlags AS DWORD) AS DWORD PASCAL; FROM "ChangeDisplaySettingsA" LIB "User32.dll" DLL32 FUNCTION ExitWindowsEx(uFlags AS DWORD,; ...
by Maggiro
Sat Apr 19, 2014 9:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIO RESOLUCION PANTALLA
Replies: 28
Views: 8725

webservice desde FWH

... As 7) As 7 PASCAL Lib xdll DLL32 Function InternetOpenUrl(hInternetSession As 7, lpszUrl As 8, lpszHeaders As 8, dwHeadersLength As 7, dwFlags As 7, dwContext As 7) As 7 FROM "InternetOpenUrlA" PASCAL Lib xdll DLL32 FUNCTION InternetCloseHandle( hSession AS LONG ) AS BOOL ...
by rterraz
Sat May 12, 2012 4:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: webservice desde FWH
Replies: 0
Views: 799

Change/save Screen-resolution to Applic.-resol. at Runtime ?

... Resolution Declare Function ChangeDisplaySettings Lib "user32" Alias "ChangeDisplaySettingsA" _ (lptypDevMode As Any, ByVal dwFlags As Long) As Long // Exit Windows Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved _ As Long) As ...
by ukoenig
Wed Mar 30, 2011 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4684

Re: Problem with aGetFiles()

Thanks, it worked now.

shouldnt't we also change number here?

if ( dwFlags & OFN_ALLOWMULTISELECT ) hb_retclen( pFile, 5128 );


Daniel Garcia-Gil wrote:Taavi

please change this value too


Code: Select all  Expand view
ofn.nMaxFile        = ( dwFlags & OFN_ALLOWMULTISELECT ) ? 15384 : 256;
by Taavi
Wed Oct 13, 2010 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with aGetFiles()
Replies: 8
Views: 1407

Re: Problem with aGetFiles()

Hi, tryed with pFile = ( LPSTR ) hb_xgrab( ( dwFlags & OFN_ALLOWMULTISELECT ) ? 15384 : 256 ); No changes. Taavi Taavi, In function cGetFile() we use this amount of memory to be allocated: (5128) pFile = ( LPSTR ) _xgrab( ( dwFlags & OFN_ALLOWMULTISELECT ...
by Taavi
Tue Oct 12, 2010 1:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with aGetFiles()
Replies: 8
Views: 1407

Re: Problem with aGetFiles()

Taavi,

In function cGetFile() we use this amount of memory to be allocated: (5128)

pFile = ( LPSTR ) _xgrab( ( dwFlags & OFN_ALLOWMULTISELECT ) ? 5128 : 256 );

Please increase it (double or triple) and try it again, thanks :-)
by Antonio Linares
Mon Oct 11, 2010 11:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with aGetFiles()
Replies: 8
Views: 1407

Re: Boton cerrar en dialogo.

Simón,

En el ejemplo anterior que te he mostrado, cambia esta línea:

shidi.dwFlags = SHIDIF_DONEBUTTON | SHIDIF_SIZEDLGFULLSCREEN;

así:

shidi.dwFlags = SHIDIF_DONEBUTTON;
by Antonio Linares
Fri Jul 09, 2010 5:26 am
 
Forum: FiveWin para Pocket PC
Topic: Boton cerrar en dialogo.
Replies: 5
Views: 973

Re: Otra de FTP

... "FtpGetFileA" (ByVal hConnect As Long, ByVal lpszRemoteFile As String, ByVal lpszNewFile As String, ByVal fFailIfExists As Long, ByVal dwFlagsAndAttributes As Long, ByVal dwFlags As Long, ByRef dwContext As Long) As Boolean Private Declare Function FtpPutFile Lib "wininet.dll" ...
by QAZWSX2K
Tue Oct 06, 2009 12:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Otra de FTP
Replies: 14
Views: 3732

Re: High contrast screen for non blind user - Antonio ?

... _ Public Structure HIGHCONTRAST      Public cbSize As UInteger      Public dwFlags As UInteger      <System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPWStr)> _      Public ...
by anserkk
Thu Sep 17, 2009 10:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: High contrast screen for non blind user - Antonio ?
Replies: 9
Views: 2728
Next

Return to advanced search