Search found 107 matches: imagelist

Return to advanced search

FWH2307: List View Unicode compatible

... "FiveWin.ch" function Main() local oWnd, oLvw, nOption := 1, oImageList DEFINE WINDOW oWnd TITLE "ListView Test" DEFINE IMAGELIST oImageList SIZE 32, 32 oImageList:AddIcon( "console" ) oImageList:AddIcon( "form" ) oImageList:AddIcon( "library" ...
by nageswaragunupudi
Sun Aug 27, 2023 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH2307: List View Unicode compatible
Replies: 1
Views: 221

using Function twice with Object as Parameter ?

hi,

i do want to use Thread which are call a Function.
i use Thread to "fill" Imagelist of Object and all in Function use Object ... except FOR ii

Question : will ii be "manipulate" by 2nd Thread when called twice :?:
by Jimmy
Mon Feb 27, 2023 4:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: using Function twice with Object as Parameter ?
Replies: 2
Views: 230

use hb_threadStart() in a CLASS ?

hi, to "fill" Imagelist i want to use a Thread to call a Method of CLASS   AADD(::aThread, hb_threadStart( HB_THREAD_INHERIT_PUBLIC, @::ImageThread() )) or LOCAL oSelf := SELF   AADD(::aThread, hb_threadStart( ...
by Jimmy
Sat Feb 25, 2023 10:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: use hb_threadStart() in a CLASS ?
Replies: 2
Views: 219

Re: Imagelist : Icon and Bitmap from Resource

hi, found out what is going on with TImagelist() Method AddIcon( oIcon )   if ValType( oIcon ) == "C"      ...   else      oIco = oIcon   endif so both Object or String can be used METHOD Add( oBmpImage, oBmpMask ) want to have a Object so LoadBitmap() or ReadImage(...
by Jimmy
Tue Feb 14, 2023 4:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Imagelist : Icon and Bitmap from Resource
Replies: 5
Views: 433

Re: Imagelist : Icon and Bitmap from Resource

... it and same Result :( it must be something else in my CODE CODE come from HMG where i have to change some HB_FUNC() for FiveWin it have to do with Imagelist where Fivewin have a CLASS while HMG use it "in" HB_FUNC() --- under HMG it work with Bitmap and i have spend a lot of Time under ...
by Jimmy
Sun Feb 12, 2023 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Imagelist : Icon and Bitmap from Resource
Replies: 5
Views: 433

Re: Imagelist : Icon and Bitmap from Resource

FW_ReadImage(nil, "aaa")
by Natter
Sun Feb 12, 2023 8:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Imagelist : Icon and Bitmap from Resource
Replies: 5
Views: 433

Re: Imagelist : Icon and Bitmap from Resource

hi,

do you mean that i can use FW_ReadImage() also for Resource :?:

if yes, how is the Syntax to get Bitmap from Resource :?:
by Jimmy
Sun Feb 12, 2023 5:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Imagelist : Icon and Bitmap from Resource
Replies: 5
Views: 433

Re: Imagelist : Icon and Bitmap from Resource

There is such a file \source\function\Imgtxtio.prg
In it the function FW_ReadImage() - look at it
by Natter
Sat Feb 11, 2023 10:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Imagelist : Icon and Bitmap from Resource
Replies: 5
Views: 433

Imagelist : Icon and Bitmap from Resource

hi, to load Resource into Imagelist i use   iIcon := LoadIcon( GetResources(), "ICOUP" )   iIcon := LoadIcon( GetResources(), "ICODOWN" )   iImage := ILADDICON( ::oImageLHeader:hImageList, ...
by Jimmy
Sat Feb 11, 2023 5:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Imagelist : Icon and Bitmap from Resource
Replies: 5
Views: 433

Re: load *.RES into Imagelist() ?

very good!

thanks for sharing it :-)
by Antonio Linares
Mon Dec 19, 2022 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: load *.RES into Imagelist() ?
Replies: 9
Views: 591

Re: load *.RES into Imagelist() ?

hi, i found Solution but not sure "why" ... hm for my TGrid() i use 2 x ImageList() for "Small" / "Big" like Explorer Imagelsit() for "Big" are only used in "LVS_ICON" Mode but not for "LVS_REPORT" Mode ...
by Jimmy
Sun Dec 18, 2022 3:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load *.RES into Imagelist() ?
Replies: 9
Views: 591

Re: load *.RES into Imagelist() ?

Dear Jimmy,

Please review FWH\samples\fldmask.bmp to see what the mask bitmap must contain

Anyhow I don't know why it is repeating it...
by Antonio Linares
Thu Dec 15, 2022 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load *.RES into Imagelist() ?
Replies: 9
Views: 591

Re: load *.RES into Imagelist() ?

hi Antonio, Are you properly providing it a masked bitmap for each one ? i do not know what "masked bitmap" mean ... "just" have try to use your Sample which use different Bitmap ("folder" / "fldmask") did i "clean up" wrong as it "seems" a...
by Jimmy
Thu Dec 15, 2022 3:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load *.RES into Imagelist() ?
Replies: 9
Views: 591

Re: load *.RES into Imagelist() ?

Dear Jimmy,

Are you properly providing it a masked bitmap for each one ?
by Antonio Linares
Thu Dec 15, 2022 2:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load *.RES into Imagelist() ?
Replies: 9
Views: 591

Re: load *.RES into Imagelist() ?

hi Antonio, thx for Answer. i got it work but Result look different ICON https://i.postimg.cc/gjm7MMGx/Imagelist-ICO.jpg Bitmap https://i.postimg.cc/LsjvrzCL/Imagelist-BMP.jpg #ifdef Use_Icon         iImage_0 := oGrid:oImageListSmall:AddIcon( ...
by Jimmy
Thu Dec 15, 2022 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load *.RES into Imagelist() ?
Replies: 9
Views: 591
Next

Return to advanced search