Search found 54 matches: hicon

Return to advanced search

Re: List of Resource No in Windows System DLL

... Tool where i got "Start" and "End" Resource No. of DLL than i run a FOR / NEXT and "try" every Resource No if HICON is valid so i got a List and wrote my own HMG App to "extract" Icon ( ExtractIcon ) i "think" it is "legal" to use ...
by Jimmy
Thu Feb 16, 2023 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: List of Resource No in Windows System DLL
Replies: 9
Views: 780

Re: List of Resource No in Windows System DLL

... ::aPalBmp, aRect, ::lBmpTransparent, nil, ::nAlphaLevel(), ! ::lActive, cAlign, aColorMap )   endif but you need HBITMAP not HICON when need HBITMAP instead of HCION this Function may help to "convert" HCION into HBITMAP   hBitmap := HICO2HBMP( iIcon ) --- ...
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: 780

List of Resource No in Windows System DLL

hi, you can access Windows System DLL but you need to know it´s Resource No. this is the Way to get hIcon from DLL LOCAL WinDir     := GETENV( "Windir" )   cDLL   := WinDir+"\System32\NetShell.dll"   hModule := GetModuleHandle( cDLL )  ...
by Jimmy
Thu Feb 16, 2023 5:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: List of Resource No in Windows System DLL
Replies: 9
Views: 780

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: 599

Re: New FTDN October/Octure (FWH 22.10)

... parámetro. Ahora el parámetro puede ser sólo el nombre de la extensión con el prefijo "." Ejemplo: ICON_READ( ".docx" ) --> hIcon * BtnBmp.prg: Error de ejecución cuando el 5º elemento de :aBmpRect es "círculo" o "elipse" (introducido en 2004). Se ha corregido. ...
by Antonio Linares
Mon Nov 07, 2022 9:38 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octure (FWH 22.10)
Replies: 2
Views: 861

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: 732

New FTDN October/Octure (FWH 22.10)

... file as the first parameter. Now the parameter can be only name of extension prefixed with "." Eg: ICON_READ( ".docx" ) --> hIcon. * BtnBmp.prg: Runtime error when 5th element of :aBmpRect is "circle" or "ellipse" (introduced in 2004) is now fixed. * New ...
by Antonio Linares
Wed Nov 02, 2022 11:55 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octure (FWH 22.10)
Replies: 2
Views: 861

Re: Destroy HBITMAP ?

for icons, please use

DestroyIcon( hIcon )
by nageswaragunupudi
Tue Oct 25, 2022 5:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Destroy HBITMAP ?
Replies: 5
Views: 355

Re: get hBitmap from Image

... { w, h } for resizing [lGDIP] ) // Use GDI+ or not. Default .F. --> aImage. uImage: Can be any file name, resource name, image buffer, hBitmap, hIcon, aShape Array, Image URL on the Web, Symbol aImage { hBitmap (GDI ) or pImage( GDI+ ), hPalette, width, height, lHasAlphaChannel, cSourceName, ...
by nageswaragunupudi
Thu Oct 20, 2022 4:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: get hBitmap from Image
Replies: 14
Views: 718

Re: c5tooltip and btnbmp

... Please see method of Window CLASS METHOD ShowToolTip( nRow, nCol, cToolTip ) CLASS TWindow local aToolTip, nLenToolTip, oTemp, hWnd local cIcon, hIcon, cText, cTitle, nClrFore, nClrBack, nWidth local nDelayTime, nDelayType DEFAULT nCol := 7, nRow := ::nHeight() + 7, ; cToolTip := ::cToolTip if ...
by cnavarro
Mon Jul 16, 2018 11:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c5tooltip and btnbmp
Replies: 6
Views: 890

FWH 18.03: FW_SaveImage()

New functions in FWH 18.03 FW_SaveHBitmap( hBitmap, cBmpFile ) --> lSuccess FW_SaveHIContoIco( hIcon, cIconFile ) --> lSuccess The above two functions are self explanatory. FW_SaveImage( [uSource], [cFile], [lJpgQuality] ) --> lSuccess Parameters: 1. uSource (optional): ...
by nageswaragunupudi
Tue Apr 24, 2018 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 18.03: FW_SaveImage()
Replies: 2
Views: 937

New FTDN March/Marzo 2018 (FWH 18.03)

... compression and 100 for no compression. * New: function FW_SaveHBitmap( hBmp, cFileBmp ) --> lSuccess * New: function FW_SaveHIconToIco( hIcon, cFileIco ) -- lSuccess * New: function FW_TransformBitmap( hBmp, [aCrop], [nZoom], [nRotate] ) --> hNewBmp Function to crop, zoom and rotate ...
by Antonio Linares
Tue Apr 24, 2018 9:25 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2018 (FWH 18.03)
Replies: 0
Views: 1688

Re: Recuperar imagen desde campo BLOB

... In the command, the image can be (a) file name, (b) resource name, (c) blob, (d) hBitmap, (e) hMeta, (f) hIcon, (g) pImage, (k) Symbol, (l) FW Shape, (m) web-address of any image or (n) image info read by FW_ReadImage. Image format can be bmp, png, gif, ...
by nageswaragunupudi
Sat Mar 03, 2018 2:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recuperar imagen desde campo BLOB
Replies: 4
Views: 1149

Re: FWH 1801: Enhancements to TBitmap class

... values. The function returns an array with relevant information about the image data. The first element can be GDI+ pImage (if opted), hBitmap, hIcon, hMeta, Segoe Symbol. It is desirable (though not essential) to send the entire array as it is to FW_DrawImage( hDC, aBmpInfo, ... )
by nageswaragunupudi
Sun Feb 18, 2018 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 1801: Enhancements to TBitmap class
Replies: 7
Views: 1124

Re: FWH 1801: Enhancements to TBitmap class

... useful because we do not have much control on the size. Instead, we got better results using Classic GDI Icon-read functions. Once we retrieve hIcon/hCursor then we either diretly draw or convert to bitmap or gdi+ image depending on the requirements. For quick results, we can now use oWnd:ReadImage( ...
by Enrico Maria Giordano
Sun Feb 18, 2018 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 1801: Enhancements to TBitmap class
Replies: 7
Views: 1124
Next

Return to advanced search