Search found 150 matches: getresources

Return to advanced search

Re: De *.C Para *.Obj en BCC74 no funciona más.

karinha wrote:c:\TTaskPan>C:\BCC74\bin\bcc32 -c -Ic:\XHBBCC74\include;c:\fwh1905\include -D__HARBOUR__ -D__FLAT__ c_tthememanager.C


Try adding this declaration:

int FontHeight2Pt( int );

right after this other:

HMODULE GetResources( void );

Let me know.
by Enrico Maria Giordano
Fri Sep 08, 2023 6:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De *.C Para *.Obj en BCC74 no funciona más.
Replies: 84
Views: 39628

RESUELTO ---> arreglo en BTN_ACTION

... *==================================================== Aadd(aBtns, { cBebida + CRLF + "REFRESCO" + CRLF + cBcod,LoadBitmap( GetResources(), "COTROS" ), { || BTN_ACTION(oPdd, @cBcod ) } } ) *==================================================== END ENDIF PRODUCTOS->(DBCLEARFIL(NIL)) ...
by Male
Wed Feb 15, 2023 4:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RESUELTO ---> arreglo en BTN_ACTION
Replies: 1
Views: 224

COMO GRABAR UN RESOURCE EN EL DISCO

... esto: Tengo que recuperar un Bitmap desde los resources y grabarlo en el disco para luego leerlo con Ximage Estoy haciendo esto: hDC:= LoadBitMap(getresources(),'wimagex') FW_Saveimage(hDC,'Imagex.bmp') El archivo se recupera y se graba bien pero no lo puedo leer con ximage ni con image ( Loadimage() ...
by rterraz
Sat Sep 25, 2021 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO GRABAR UN RESOURCE EN EL DISCO
Replies: 2
Views: 408

No incluye los BITMAPS como RC en las app

... prgs donde uso menus la opcion: MENUITEM OPCI_OBJ(i) PROMPT OPCI_TIT(i) ACTION OPCI_ACC(i) BLOCK OPCI_BLO(i) --- OPCI_OBJ(i):hBitmap:=LoadBitmap(GetResources(),OPCI_BMP(i)) ... OPCI_BMP(i) = ES EL NOMBRE DEL RECURSO Con la version de fwh 13.x, xHarbour 1.2.3, y bcc55 lo hacia sin problemas.
by noe aburto
Sat Aug 29, 2020 7:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No incluye los BITMAPS como RC en las app
Replies: 1
Views: 354

COMO LEER EL RESOURCE 'VERSION' DE UNA DLL

... agregar una string table en una dll , las cadenas que se agregan tiene un ID y se pueden recuperar desde el programa principal usando LOADSTRING( Getresources(),n) donde n es el ID numerico de la cadena a recuperar. Ahora bien, si agregamos un Item Version a la DLL , dentro de el aparecen una ...
by rterraz
Mon Mar 02, 2020 2:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO LEER EL RESOURCE 'VERSION' DE UNA DLL
Replies: 1
Views: 420

Re: ¿ Por usar BWCC32.DLL no funciona EXCEL en el Preview ?

Usas esto en tu MENU PRINCIPAL? Se no, no usas BORLAND.    LOCAL hBorland   hBorland := LoadLibrary('BWCC32.DLL')   BWCCRegister( GetResources() )//-----------------------------------------------------------------------------DLL32 FUNCTION BWCCRegister( hInst AS LONG ...
by wyerco613
Wed Jun 26, 2019 10:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿ Por usar BWCC32.DLL no funciona EXCEL en el Preview ?
Replies: 5
Views: 762

Black Screen within grids

... I found a solution to the black screen problem on some workstations, and it was the way we handled bitmaps. // Declare LOCAL bTagOn := LoadBitMap( GetResources(),"CHECK4" ) // single red check mark LOCAL bTagOff := LoadBitMap( GetResources(),"CHECK5" ) // blank grey screen // ...
by byron.hopp
Fri Aug 24, 2018 8:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Black Screen within grids
Replies: 1
Views: 498

Re: add a symbol

... "Apri con..." ) if File( cBitmap ) oBarOpenWithlist:hBmp = ReadBitmap( 0, cBitmap ) else oBarOpenWithlist:hBmp = LoadBitmap( GetResources(), cBitmap ) endif ACTIVATE DIALOG oAllegati CENTERED return nil
by Silvio.Falconi
Fri Jan 19, 2018 9:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a symbol
Replies: 10
Views: 1331

Re: add a symbol

... "Apri con..." ) if File( cBitmap ) oBarOpenWithlist:hBmp = ReadBitmap( 0, cBitmap ) else oBarOpenWithlist:hBmp = LoadBitmap( GetResources(), cBitmap ) endif
by Silvio.Falconi
Tue Jan 16, 2018 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a symbol
Replies: 10
Views: 1331

MENUs CON RECURSOS en variables

... { {|| "'" + cBmp + "'" } cBmp:= EVAL(bVar) tambien da un gpf la imagen la defino asi : oMnItem[nItem]:hBitmap:= LoadBitmap( GetResources(), cBmp ) Gracias.
by Ariel
Sat Oct 14, 2017 10:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MENUs CON RECURSOS en variables
Replies: 14
Views: 2707

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6382

Re: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... FUNCTION CambiaBmpSort(n,xBrw,cBmpAsc,cBmpDes) local hBmp DEFAULT n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), ...
by cnavarro
Sun Aug 20, 2017 11:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 6
Views: 1276

COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... FUNCTION CambiaBmpSort(n,xBrw,cBmpAsc,cBmpDes) local hBmp DEFAULT n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), ...
by rterraz
Sun Aug 13, 2017 3:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 6
Views: 1276

CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... FUNCTION CambiaBmpSort(n,xBrw,cBmpAsc,cBmpDes) local hBmp DEFAULT n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), ...
by rterraz
Sun Aug 13, 2017 3:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 0
Views: 443

Enlazar pantalla con .rc sin dll en el exe

... test.rc al exe sin la presencia del dll, es decir evitar poner en prg las lineas: SET RESOURCES TO cPathEXE+"\Test.dll" BWCCRegister( GetResources( ) ) al llamar a esta funcion se cuelga en esta linea y obviamente mi archivo test.rc si esta en la misma ubicacion que mi prg. STATIC ...
by artu01
Fri Oct 21, 2016 3:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enlazar pantalla con .rc sin dll en el exe
Replies: 13
Views: 2412
Next

Return to advanced search