Search found 166 matches: deleteobject

Return to advanced search

Re: Another for Btnbmp

... oCli := ::GetCliRect() hPen = CreatePen( PS_SOLID, 1, nRGB( 255, 0, 0 ) ) WndBoxClr( ::GetDC(), 1, 1, oCli:nBottom - 2, oCli:nRight - 2, hPen ) DeleteObject( hPen )
by Otto
Tue Mar 26, 2024 12:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4873

how to "Set" Image on TFolderEx() ?

... in .\source\function\CHECKRES.PRG Called from ASCAN(0) Called from FWDELRESOURCE(36) in .\source\function\CHECKRES.PRG Called from DELETEOBJECT(0) Called from GRADIENTBRUSH(815) in .\source\classes\BRUSH.PRG Called from TFOLDEREX:SETFLDCOLORS(1695) in .\source\classes\TFOLDEX.PRG ...
by Jimmy
Fri May 19, 2023 5:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to "Set" Image on TFolderEx() ?
Replies: 5
Views: 290

Re: WBrowse - color fondo cabecera y Congelar columnas- consulta

... otro oBrw variable nColuAct debe venir en cero) hBrush = CreateSolidBrush( CLR_BRWHS ) FillRect( hDC, { nTop, nLeft, nBottom, nRight }, hBrush ) DeleteObject( hBrush ) SetBkColor( hDC, CLR_BRWHS ) if aJustify != nil .and. aJustify[ n ] SetTextAlign( hDC, TA_RIGHT ) ExtTextOut( hDC, nTop, nRight ...
by José
Tue Mar 21, 2023 2:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WBrowse - color fondo cabecera y Congelar columnas- consulta
Replies: 6
Views: 614

Re: Mystery with SEQUENCE

... (b)FWDELRESOURCE( 36 ) Called from: => ASCAN( 0 ) Called 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( ...
by Jimmy
Thu Mar 02, 2023 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mystery with SEQUENCE
Replies: 1
Views: 251

Re: cyclometric circle

... hpen:=CreatePen(0,8,nColor) FillRect( ::hDC, { aPoints [1][1],aPoints [1][2],aPoints [2][1],aPoints [2][2] }, hBru ) SelectObject( ::hDC, hOld ) DeleteObject( hBru ) Not Happen nothing
by Silvio.Falconi
Sat Dec 03, 2022 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3017

Re: Consejos sobre el uso de las clases TImprime y TUtilPrn

... IF lImage * se for jpg xBmp := timage():define( , ximage ,::oPrinter ) ::oPrinter:SayImage( xCor[1],xCor[2], xbmp , yCor[1] ,yCor[2],nRaster ) DeleteObject( xBmp ) ELSE * se for BMP ::oPrinter:SayBitmap(xCor[1],xCor[2],xImage, yCor[1],yCor[2],nRaster ) ENDIF RETURN NIL Saludos Fernando Espinoza
by nanoespinoza
Tue Nov 15, 2022 12:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consejos sobre el uso de las clases TImprime y TUtilPrn
Replies: 9
Views: 913

Re: Destroy HBITMAP ?

DeleteObject
not
Delete Object
by nageswaragunupudi
Mon Oct 24, 2022 3:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Destroy HBITMAP ?
Replies: 5
Views: 355

Re: Mostrar control ActiveX codejock en diálogo desde recurso

... 13Mb es algo muy insignificante para 1000 diálogos abiertos y cerrados, pero me gustaría saber si hay alguna forma de limpiar esto. He probado con deleteobject() antes de cerrar el diálogo, con :Destroy() de los controles activeX y con hb_gcAll() siempre después de cada diálogo y el resultado es ...
by VictorCasajuana
Mon Aug 22, 2022 9:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mostrar control ActiveX codejock en diálogo desde recurso
Replies: 7
Views: 571

Re: Gluing images

... hDCMem, nRow, nCol, hBmp ) Finally you save it and clean: DibWrite( cFileName, DibFromBitmap( hBitmap ) ) SelectObject( hDCMem, hPrev ) DeleteObject( hBitmap ) DeleteDC( hDCMem ) oDlg:ReleaseDC()
by Antonio Linares
Tue Oct 12, 2021 5:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gluing images
Replies: 8
Views: 679

A slider solution to adjust the color brightness ?

... ) // the basic gradient bmp LOCAL hOldBmp := SelectObject( hDC, hBmp ) LOCAL nRGBColor := GetPixel( hDC, nCol, nRow ) SelectObject( hDC, hOldBmp ) DeleteObject( hBmp ) DeleteDC( hDC ) oBmp:ReleaseDC() RETURN nRGBColor best regards Uwe :?:
by ukoenig
Thu Jun 03, 2021 7:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A slider solution to adjust the color brightness ?
Replies: 2
Views: 475

Re: problema con DrawBitmap() usando tCodeBars

... HIDDEN DATA cCode DATA nFlags DATA hCodeBar DATA hData DATA nType, nWidth, nHeight, nWidthCode, nHeightCode METHOD New() METHOD End() INLINE DeleteObject( ::hCodeBar ), If( ::hData != NIL, hb_zebra_destroy( ::hData ), ) METHOD DefError( nError ) METHOD SetCode( cCode ) METHOD SetFlags( nFlags ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1022

Re: reduce an image to a fixed size

local hBmp
local hDib := DibFromBitmap( hBmp := ResizeBitmap( hBitmap, nWidth, nHeight ) )

DibWrite( cFileName, hDib )
GloBalFree( hDib )
DeleteObject( hBmp )
by Antonio Linares
Sat Oct 17, 2020 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: reduce an image to a fixed size
Replies: 9
Views: 988

XBROWSE memory leak - SOLVED

... corregido, pero el problema estaba en el método: METHOD Adjust() CLASE TXBrowse ... //aqui*********************************** if ::hRowPen != nil DeleteObject( ::hRowPen ) ::hRowPen := nil endif ******************************************** do case case nStyle == LINESTYLE_BLACK .or. nStyle == ...
by MGA
Wed Sep 02, 2020 9:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE memory leak - SOLVED
Replies: 3
Views: 759

CheckRes()

Buen dia. Obtengo este reporte con CheckRes(), pregunto me afecta el sistema, si es así como lo soluciono 03/09/2020 09:32:46: DeleteObject( ::hBrush ) failed from TBrush:End() 437262946 03/09/2020 09:32:46: DeleteObject( ::hFont ) failed from TFont:End() -2029381914 0 .T. 03/09/2020 ...
by russimicro
Mon Mar 09, 2020 2:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3761

Re: How to use Segoe MDL2 icons on Win 7 ?

Thank You very much
tested and works

for saving symbols colored I added :

hBmp := FW_TextToBitmap( HB_UTF8CHR( 0xE105 ), { "Segoe MDL2 Assets", -40 }, 255,,,.T. ) // = red
FW_SaveImage( hBmp, "SYMBOL.BMP" )
DeleteObject( hBmp )

all infos I need are complete

regards
Uwe :D
by ukoenig
Tue Jun 18, 2019 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 5485
Next

Return to advanced search