Search found 32 matches: palbmpfree

Return to advanced search

Re: hb_out.. exe crashed...

... this bug when GDIP clause is used for BTNBMP. This bug is fixed in the recent version. For now please use this fix. Please replace the function PalBmpFree() in \source\classes\bitmap.prg with this new function. function PalBmpFree( hBmp, hPal )   static prev   local aBmp, cType   if ...
by Silvio.Falconi
Sun May 21, 2023 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_out.. exe crashed...
Replies: 10
Views: 766

Re: hb_out.. exe crashed...

... this bug when GDIP clause is used for BTNBMP. This bug is fixed in the recent version. For now please use this fix. Please replace the function PalBmpFree() in \source\classes\bitmap.prg with this new function. function PalBmpFree( hBmp, hPal )   static prev   local ...
by nageswaragunupudi
Sun May 21, 2023 2:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_out.. exe crashed...
Replies: 10
Views: 766

Re: Mystery with SEQUENCE

... from: .\source\function\CHECKRES.PRG => FWDELRESOURCE( 36 ) Called from: => DELETEOBJECT( 0 ) Called from: .\source\classes\BITMAP.PRG => PALBMPFREE( 1180 ) Called from: .\source\classes\BITMAP.PRG => TBITMAP:DESTROY( 498 ) Called from: .\source\classes\BITMAP.PRG => (b)TBITMAP( ...
by Jimmy
Thu Mar 02, 2023 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mystery with SEQUENCE
Replies: 1
Views: 314

Re: get hBitmap from Image

... cSourceName, IsFromResource, "BITMAP/PIMAGE", // If GDI+, "PIMAGE" nZeroZeroClr, ImageType (BMP/JPG/PNG, etc) } Destroy: PalBmpFree( aImage )
by nageswaragunupudi
Thu Oct 20, 2022 4:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: get hBitmap from Image
Replies: 14
Views: 1343

Re: A problem with GDIP_IMAGEFROMFILE()

We recommend using FW_ReadImage( nil, cAnyImageSource, [aSize], [lGDIP] ) --> aImage

Elements of aImage:
{ hBitmap, hPalette, nBmpWidth, nBmpHeight, lAlpha, cName, lResource, cType, nZeroClr }

Destroy with
PalBmpFree( aImage )
by nageswaragunupudi
Sat Feb 29, 2020 12:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with GDIP_IMAGEFROMFILE() [Solved]
Replies: 2
Views: 570

MsgItem does not use FW_ReadImage

... nor FW_ReadBitmap but use ReadBitmap (not method)... I have the 18.01. In our code we use this workaround: if !empty(oMsgBar:aItems[6]:hBitmap1) PalBmpFree(oMsgBar:aItems[6]:hBitmap1) endif oMsgBar:aItems[6]:hBitmap1 := oMsgBar:ReadImage("DOWNLOAD_PNG") Maybe FiveTech wants change the ...
by AntoninoP
Mon Oct 15, 2018 1:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MsgItem does not use FW_ReadImage
Replies: 1
Views: 559

Re: Setfocus problem

Peter,

Please remove the function XBRWSCROLLROW() from xbrowse.prg

and implement these functions:

function PalBmpFree( hBmp, hPal )

DeleteObject( hBmp )
DeleteObject( hPal )

return nil

function DbSkipper( n )

return __DbSkipper( n )
by Antonio Linares
Thu May 03, 2018 7:00 pm
 
Forum: FiveWin for Pocket PC
Topic: Setfocus problem
Replies: 10
Views: 5297

Error en oCol:nBtnBmp

...    oCol:bOnPostEdit := {|o, v, n| DETA->PRODUC:=v }  Called from GDIP_DELETEIMAGE(0) Called from PALBMPFREE(1158) in .\source\classes\BITMAP.PRG Called from TBTNBMP:FREEBITMAPS(1035) in .\source\classes\BTNBMP.PRG Called from TBTNBMP:DESTROY(956) ...
by acuellar
Fri Apr 06, 2018 8:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en oCol:nBtnBmp
Replies: 12
Views: 2055

Re: Mr. Rao, Error in 18.01

Ariel,

Añade esta función a tu PRG principal:

function PalBmpFree()

return nil
by Antonio Linares
Mon Feb 26, 2018 5:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mr. Rao, Error in 18.01
Replies: 4
Views: 1935

Mr. Rao, Error in 18.01

... 731F0000 00007000 C:\Windows\system32\WINNSI.DLL 73160000 00038000 C:\Windows\System32\fwpuclnt.dll Called from GDIP_DELETEIMAGE(0) Called from PALBMPFREE(1158) in .\source\classes\BITMAP.PRG Called from TBTNBMP:FREEBITMAPS(1035) in .\source\classes\BTNBMP.PRG Called from TBTNBMP:DESTROY(956) ...
by Ariel
Sun Feb 25, 2018 9:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, Error in 18.01
Replies: 4
Views: 1153

Mr. Rao, Error in 18.01

... 731F0000 00007000 C:\Windows\system32\WINNSI.DLL 73160000 00038000 C:\Windows\System32\fwpuclnt.dll Called from GDIP_DELETEIMAGE(0) Called from PALBMPFREE(1158) in .\source\classes\BITMAP.PRG Called from TBTNBMP:FREEBITMAPS(1035) in .\source\classes\BTNBMP.PRG Called from TBTNBMP:DESTROY(956) ...
by Ariel
Sun Feb 25, 2018 9:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mr. Rao, Error in 18.01
Replies: 4
Views: 1935

New FTDN January/Enero 2018 (FWH 18.01)

... FW_ReadImage( oWnd/hDC, uSource, [aResize], [lGDIP := .f.] ) --> aImageInfo oWnd can be any window, dialog or control. Releasing Image: PalBmpFree( aImageInfo ) aImageInfo format { pImage/hBitmap/hIcon/hCursor/hMeta, hPalette, nWidth, nHeight, lHasAlpha, cSource, lResource ) uSource: ...
by Antonio Linares
Wed Feb 14, 2018 5:03 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2018 (FWH 18.01)
Replies: 1
Views: 2967

Re: Drawing on a TImage and save (revamped) :-)

... nWidth, nHeight ) DO_LINES( hMemDC, hPen, nPensize, nPenColor ) SELECTOBJECT( hMemDC, hBmpOld ) DELETEDC( hMemDC ) oImg:hBitmap = hMemBmp PALBMPFREE( hBitmap, hPalette ) PALBMPNEW( oImg:hWnd, oImg:hBitmap, oImg:hPalette ) oImg:Refresh() RETURN NIL // ------------------- STATIC FUNCTION ...
by ukoenig
Sun Apr 06, 2014 12:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing on a TImage and save (revamped) :-) [Solved]
Replies: 41
Views: 10240

SOURCE FOR IMAGE WITH *.BMP *.EMF *.GIF *.ICO *.JPG *.PNG *

... + ; "WMF (*.WMF)| *.WMF|" ,"Select ALL IMAGE" ) local hBitmap :=IMAGE_HBITMAP(cBmpFile) if hBitmap != 0 if oBmp:hBitmap != 0 PalBmpFree( oBmp:hBitmap, oBmp:hPalette ) oBmp:hBitmap = 0 oBmp:hPalette = 0 endif oBmp:hBitmap = hBitmap oBmp:hPalette = 0 // Where to get it from ...
by HATHAL
Sun Oct 06, 2013 8:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cover Flow
Replies: 10
Views: 5913
Next

Return to advanced search