Search found 420 matches: hbitmap

Return to advanced search

Re: Brush

... oBrush Local cImagem := "..\bitmaps\pngs\2.png" DEFINE IMAGE oImagem FILENAME cImagem oBrush := TBrush():new( ,,,, ResizeBmp( oImagem:hBitmap, 600, 600, .T. ) ) oImagem:End() oDlg:SetBrush( oBrush ) oBrush:End() Return NIL *----------------------------------------------------------------------------------*
by oliveiros junior
Fri Apr 19, 2024 1:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Brush
Replies: 10
Views: 200

Re: FW_SaveImage

... you can use the function FW_StitchImages( uImage1, uImage2, [cSide], [cType] ) --> newImage uImage1 and uImage2: can be hBitmap or any image-file or any image-buffer of any type. cSide: Can be "R" or "B". R for Right and B for bottom. Default Bottom ...
by nageswaragunupudi
Thu Feb 15, 2024 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SaveImage
Replies: 8
Views: 449

Re: New FTDN October/Octubre 2023 (FWH 23.10)

... función decide el mejor lado. [cBlobType] Si se especifica, la imagen resultante es un blob del tipo especificado. Si se omite, se devuelve hBitmap. * TGet: Cuando se usa la cláusula @M, la tecla enter no salía de la función Get. Corregido. https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43407&sid=7f4001848fbee7134ccadde0bb0dfd09 ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3904

Re: whatsapp

hBitmap = NViewLib32( cBmpFile , 1 )
Vs
FW_ReadImage( nil, cBmpFile, , .t. )
by jnavas
Sun Nov 19, 2023 9:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: whatsapp
Replies: 9
Views: 1288

load png from rpreview

I need to coverte this function to use on rpreview to load my png images oBtn:hBitmap1 = FWBitmap2( "EXCEL" ) it run but the image is compress so is not compatible with png STATIC FUNCTION FWBitmap2( cResname ) LOCAL oBitmap DEFINE BITMAP oBitmap RESNAME ...
by Silvio.Falconi
Wed Nov 15, 2023 1:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load png from rpreview
Replies: 6
Views: 398

New FTDN October/Octubre 2023 (FWH 23.10)

... or botttom. If ommitted the function decides the best side. [cBlobType] If specified the result image is a blob of the type specified If ommitted, hBitmap is returned. * TGet: When picture clause @M is used, enter key was not exiting the Get. Fixed. https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43407&sid=7f4001848fbee7134ccadde0bb0dfd09 ...
by Antonio Linares
Thu Nov 02, 2023 9:53 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3904

FWH2309: New function FW_StitchImages()

... [cImage2], [cSide], [cBlobType] )  cImage1 and cImage2 can be image file names of any type, or image blobs, or hBitmap / pImages or any combination thereof If cImage2 is omitted, any image in ClipBoard is taken as the second image. cSide "R"/"B" ...
by nageswaragunupudi
Fri Sep 08, 2023 12:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH2309: New function FW_StitchImages()
Replies: 0
Views: 278

Re: New FTDN April/Abril 2023 (FWH 23.04)

... función FW_ImageToBlob( [npImage], [cType], [nJpgQuality], ; [lAlpha], [nClrBack], [nWidth], [nHeight] ) ; --> cBlob - 1. npImage: Opcional. hBitmap o puntero de imagen GDI+. Si es nulo, por defecto hBitmap desde el portapapeles, si está disponible. - 2. cType: Opcional. Puede ser bmp,jpg/jpeg,png,tif/tiff,gif. ...
by Antonio Linares
Thu May 04, 2023 6:37 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1757

New FTDN April/Abril 2023 (FWH 23.04)

... * New: FW_ImageToBlob( [npImage], [cType], [nJpgQuality], ; [lAlpha], [nClrBack], [nWidth], [nHeight] ) ; --> cBlob - 1.npImage: Optional. hBitmap or GDI+ image pointer If nil, defaults to hBitmap from Clipboard, if available. - 2.cType: Optional. Can be bmp,jpg/jpeg,png,tif/tiff,gif. Defaults ...
by Antonio Linares
Tue May 02, 2023 7:08 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1757

Re: List of Resource No in Windows System DLL

... which can hold Icon or Bitmap Type i have not work with Buttonbmp yet. i guess it "paint" Image than you need "only" HCION or HBITMAP for "Draw" Function --- had a Quick look into CLASS TButtonBmp   ACCESS   hBitmap     INLINE If( Empty( ::aPalBmp ),  0, ...
by Jimmy
Thu Feb 16, 2023 12:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: List of Resource No in Windows System DLL
Replies: 9
Views: 791

Re: use Icon from Windows DLL Resource

... Warnings under MSVC 64 Bit HB_FUNC.PRG(1342): warning C4312: "Typumwandlung": Konvertierung von "int" in größeren Typ "HBITMAP" HB_FUNC.PRG(1344): warning C4312: "Typumwandlung": Konvertierung von "int" in größeren Typ "HBITMAP" 1341 ...
by Jimmy
Thu Feb 16, 2023 12:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: use Icon from Windows DLL Resource
Replies: 7
Views: 425

Re: Imagelist : Icon and Bitmap from Resource

... Object or String can be used METHOD Add( oBmpImage, oBmpMask ) want to have a Object so LoadBitmap() or ReadImage() fail as they return hBITMAP Handle so i made this   DEFINE BITMAP oBMP RESNAME "GRID_ASC"   iImage := ::oImageLHeader:Add( oBMP )   DeleteObject( ...
by Jimmy
Tue Feb 14, 2023 4:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Imagelist : Icon and Bitmap from Resource
Replies: 5
Views: 452

load *.RES into Imagelist() ?

hi,

i just get stuck to load *.RES into ImageList.

i can load Resource from File into Imagelist() and also Image when have hBitmap / hIcon
under Xbase++ i can use LoadResource() but need to assign it to Object to get hBitmap / hIcon

how under Fivewin :?:
by Jimmy
Mon Dec 12, 2022 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: load *.RES into Imagelist() ?
Replies: 9
Views: 600

Re: Child OF oWnd

... 10}, {NBOTTOM, 893}, {NRIGHT, 649.00}, {NSTYLE, 1342177280}, {NCLRPANE, 16777215}, {NCLRTEXT, 0}, {ACONTROLS, {}}, {OBRUSH, {{HBRUSH, 9437200}, {HBITMAP, 0}, {HBMPORGL, 0}, {NCOUNT, 6}, {NRGBCOLOR, 16777215}, {LSYSTEM, .T.}, {USOURCE, CLR_WHITE}}}, {OFONT, {{CFACENAME, TAHOMA}, {HFONT, 1242174205}, ...
by Jimmy
Thu Nov 10, 2022 5:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Child OF oWnd
Replies: 7
Views: 344

Re: Associated Application ICONS

hi,
hua wrote:Any idea how to assign them to a BTNBMP?

i have not work with CLASS TBtnBmp() yet

when look into Soure i found
//
// if user has directly assigned hBitmapX
//

i guess you can use "o:hBmp" to assign Result a hBitmap ... but i´m not sure about hIcon (from ICON_READ() )
by Jimmy
Thu Nov 03, 2022 12:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Associated Application ICONS
Replies: 9
Views: 733
Next

Return to advanced search