Search found 17 matches: himagelist

Return to advanced search

Re: HMG 64 Bit Constante -> FiveWin ?

... möglicher Datenverlust HB_FUNC.PRG(214): warning C4312: "Typumwandlung": Konvertierung von "long" in größeren Typ "HIMAGELIST" HB_FUNC.PRG(220): error C2440: "Initialisierung": "HANDLE" kann nicht in "HBITMAP" konvertiert werden ...
by Jimmy
Sat Oct 22, 2022 9:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HMG 64 Bit Constante -> FiveWin ?
Replies: 23
Views: 1248

Re: Felices reyes!

... lo que hice. Modificar el codigo asi y funciona para Harbour o xHarbour METHOD GetImageFromFile( cImageFile ) #ifdef __XHARBOUR__ IF HHasKey( ::hImageList, cImageFile ) RETURN ::hImageList[ cImageFile ] ENDIF #else IF HB_HHasKey( ::hImageList, cImageFile ) RETURN ::hImageList[ cImageFile ] ENDIF ...
by ruben Dario
Wed Jan 18, 2017 8:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 19231

Re: Felices reyes!

... que esta en xHarbour\lib en Harbour es esta libhpdf.lib y el el fuente hacer esta modificacion METHOD GetImageFromFile( cImageFile ) IF HHasKey( ::hImageList, cImageFile ) //con harbour es HB_HHasKey como esta el fuente original RETURN ::hImageList[ cImageFile ] ENDIF Estupendo! Estoy pensando ...
by Carlos Mora
Wed Jan 18, 2017 7:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 19231

Re: Felices reyes!

... que esta en xHarbour\lib en Harbour es esta libhpdf.lib y el el fuente hacer esta modificacion METHOD GetImageFromFile( cImageFile ) IF HHasKey( ::hImageList, cImageFile ) //con harbour es HB_HHasKey como esta el fuente original RETURN ::hImageList[ cImageFile ] ENDIF Te pregunto este archivo i2of5txt.ttf ...
by ruben Dario
Wed Jan 18, 2017 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 19231

Re: Gdi and Listview

... you should convert the icon to a bitmap using FWH function BmpFromIcon() then instead of calling ILADDICON() you should use HB_FUNC( ILADD ) // ( HIMAGELIST himl, HBITMAP hbmImage, HBITMAP hbmMask ) or HB_FUNC( ILADDMASKED ) // ( HIMAGELIST himl, HBITMAP hbmImage, COLORREF nClrMask ) I just saw ...
by Antonio Linares
Thu Dec 15, 2016 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gdi and Listview
Replies: 1
Views: 497

Gdi and Listview

... Now fopr save the image of the file into listview I made: nImage := Icon_Read(cFile) nImage := max(0,ILADDICON( oImageList:hImageList, nImage ) ) oItem = TListViewItem():New( oList ) oItem:cText = cFile oItem:nImage = nImage oItem:Create() but I save only the icon of the ...
by Silvio.Falconi
Sat Dec 10, 2016 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gdi and Listview
Replies: 1
Views: 497

Re: bmpfromico

Sorry Antonio, I have on Listview many items when I add a item I made nImage := Icon_Read(cNewfile) ILADDICON( oImageListSmall:hImageList, nImage ) nImage := max(0,ILADDICON( oImageListBig:hImageList, nImage ) ) DestroyIcon(nImage) oItem = TListViewItem():New( oList ) oItem:cText = cNewfile ...
by Silvio.Falconi
Fri Jul 03, 2015 3:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmpfromico
Replies: 32
Views: 8985

Select of ImageList's format

Hello,
I am adding a listView in our program, and I see that the ImageList is always created at 24bit with alpha, but I want add 32bit icons.
Now I change oImageList:hImageList with one created with ILC_COLOR32.
Here the difference:
Image
Regards,
Perry
by AntoninoP
Mon Jun 08, 2015 10:27 am
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Select of ImageList's format
Replies: 0
Views: 602

Re: c++ HIMAGELIST return XBROWSE ?

Thank you so much !
I was working for 2~3 days because of that problem
I did what you told me and it is really working well now
Thank you for the answer!

regards

Yunbg1.
by yunbg1
Sun Dec 06, 2009 10:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ HIMAGELIST return XBROWSE ?
Replies: 5
Views: 1551

Re: c++ HIMAGELIST return XBROWSE ?

Hello yunbg1. you first should convert Icon to Bitmap, i dont remember, but i think you can not use TYPE_IMAGE for this you can use the converted handle ( hicon to hbitmap ) and add in aBitmaps ( Column Bitmaps array ) with AddBmpHandle i show a sample... (include BmpFromIcon function ) #include &qu...
by Daniel Garcia-Gil
Sun Dec 06, 2009 5:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ HIMAGELIST return XBROWSE ?
Replies: 5
Views: 1551

Re: c++ HIMAGELIST return parameter ?

How can i accept ICON handle ..... xBrowse class use ?. xBrowse -> oBrw:aCols[ 1 ]:bStrImage := {|oCol, oBrw| oBrw:aRow[ 2 ] } <----- C return (ico) ? ? ? //---------------------------------------------#include "fivewin.ch"Function Main()local ico, oIcon, oWndaArr_g := {...
by yunbg1
Sun Dec 06, 2009 1:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ HIMAGELIST return XBROWSE ?
Replies: 5
Views: 1551

Re: c++ HIMAGELIST return parameter ?

Mr. Daniel Garcia-Gil

Thanks gives too in quick answer back.
by yunbg1
Sat Dec 05, 2009 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ HIMAGELIST return XBROWSE ?
Replies: 5
Views: 1551

Re: c++ HIMAGELIST return parameter ?

Hello yunbg1 SHGetFileInfo no return HIMAGELIST http://msdn.microsoft.com/en-us/library/bb762179(VS.85).aspx you can get the info from: SHFILEINFO *psfiDWORD_PTR SHGetFileInfo(          LPCTSTR pszPath,    DWORD dwFileAttributes,  ...
by Daniel Garcia-Gil
Sat Dec 05, 2009 4:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ HIMAGELIST return XBROWSE ?
Replies: 5
Views: 1551

c++ HIMAGELIST return XBROWSE ?

Hi all. How can i get return 'HIMAGELIST' ? Will do how and the possibility which will receive this 'hImageList' is? ico := ICON_EXEREAD("test.exe") DEFINE ICON oIcon RESOURCE ico DEFINE WINDOW oWnd FROM 0, 0 TO 10, 10 TITLE "Test" ...
by yunbg1
Sat Dec 05, 2009 2:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ HIMAGELIST return XBROWSE ?
Replies: 5
Views: 1551

Re: My RibbonBar + ExplorerBar

Fafi, to call class from FWH = oAct:Do("Imagelist", with FWH Imagelist ) Try this: oAct:SetProp( "Imagelist", oImageList:hImageList ) Can we create this RibbonBar with FWH CLASS together ? yes :-) Please post the VB code here or email it to me, and we will test it together. ...
by Antonio Linares
Mon Apr 13, 2009 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: My RibbonBar + ExplorerBar
Replies: 26
Views: 4890
Next

Return to advanced search