Library : MoreListiconGadget (only for Windows)

Developed or developing a new product in PureBasic? Tell the world about it.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Thank Denis, just wondering.. Keep us posted and keep up the good work!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Poke.
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

I've done a little Update of My MoreListiconGadget library.
I've fixed a bug in the GetColumnHeaderText() command (Tks to Mitch to report it).
I've modified the SetColumnHeaderColor() command to put color when "Enable XP skin support" option is selected.
It's on my page here http://denislabarre.free.fr/index_en.html

Denis
A+
Denis
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Mmmmmmmmmmmm :-)
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Hi PB coders,

i put a new version of my library MoreListIconGadget on my page (version 1.30). It's a self-extracting file (about 515 Kb).

Thanks to Ebs for his PB code (viewtopic.php?t=6085&highlight=cddsitemprepaint)

I've added 3 new commands to set colors for individual cell, row or column.

SetItemColor() for individual cell

SetRowColor() for rows

SetColumnColor() for columns

I done some tests with WIN98 SE and XP home edition. I don't know if it runs under W2000 an NT. It's only for Window.
For columns and rows, you can set color for even/odd ones. Take a look to the help file and to the examples files.
If you find a bug, send here the corresponding code .

Here it is :

English page : http://denislabarre.free.fr/index_en.html

French page : http://denislabarre.free.fr/index.html

Select english to have english Help file.
Select Francais to have french Help file.


On the same page you will find this lib :

MoreProgressBarGadget Version 1.00 wich annules and supersedes Color library. This version works now when "Enable XP skin support" option is selected. Tks to ebs to report it out some months ago.
A+
Denis
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

WOW! Super nice work!!! Congratulations.

BUT the installer seems not to work here. There can be no userlib morelisticongadget found in the users directory and the helpfile is missed here too.

@Work: WindowsNT latest Servicepack.

Possible it would be better to see a archive which can be extraced by myselfe.

Anyway, thanks for your great work!!

Mike
Tranquil
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

BUT the installer seems not to work here. There can be no userlib morelisticongadget found in the users directory and the helpfile is missed here too.
Hi Tranquil,
the lib Morelisticongadget is in the folder Purelibraries\UserLibraries

The help file is in the folder PureBasic\Help

I just try another time under XP home edition and the installation is correct.

Tell me if you don't find the files.

May be i will done a zip file to extract all files.
A+
Denis
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

Sorry Denis, do not work here. Dont know why. Possible its couse the .pb extension is not regged here as purebasic in the registry so your installer wont find the PB directory!?

Mike
Tranquil
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Ok,

tonight i will put a zip file.

I'm sorry for this problem and don't know why it doesn't work (i try with WIN98 and XP home edition and all has been correct).
A+
Denis
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Ok,
there is 2 ziped files on my page for the lib MoreListIconGadget, one with english help file and the other with french Help file.

MoreListIconGadget file must be put into Folder PureLibraries\UserLibraries
MoreListIconGadget.chm must be put into Folder PureBasic\Help
MoreListIconGadget.res must be put into Folder PureBasic\Residents

25 help files are inside the zip, so, you extract them where you want.
A+
Denis
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Sorry Denis, do not work here. Dont know why. Possible its couse the .pb extension is not regged here as purebasic in the registry so your installer wont find the PB directory!?
I use Fred's code to get Pb path installation. This code was sending here by him and corrected by GPI if i well remember. I don't have NT, so i don't try with this Os.
A+
Denis
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

After registrateing the .PB with opening the original PB editor and closing it again, it works very fine!!!

Thanks for these great lib, I waited for it a long time. (See my whishlist from 1999 :-) )

Cheers
Mike
Tranquil
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Thanks Tranquil,

i'm working to set Font for item, but when i set a font with a big size, it is truncated. The row isn't resized. I hope i will find soon the way to do that correctly.

If somebody know how to resize the rows, i get it !
A+
Denis
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

@Denis:

It would also be nice to have the possibillity to get the x/y and width/height dimensions of a item-field. something like:

GetListIconItemWidth(#Listicon,pos,row)
GetListIconItemHeight(#Listicon,pos,row)
GetListIconItemX(#Listicon,pos,row)
GetListIconItemY(#Listicon,pos,row)

That would allow the user to do some GDI Drawings in those fields.

Also a SetListIconItemToolTip() would be nice. Just some suggestions.

Cheers

Mike
Tranquil
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

It would also be nice to have the possibillity to get the x/y and width/height dimensions of a item-field. something like:

GetListIconItemWidth(#Listicon,pos,row)
GetListIconItemHeight(#Listicon,pos,row)
GetListIconItemX(#Listicon,pos,row)
GetListIconItemY(#Listicon,pos,row)
Hi Tranquil,

To modify the item height (so the row height) , you must have a listicon with #LVS_OWNERDRAWFIXED and in that case, the way i use to set color doesn't work. I'm working on a listicon with this style (report view) but it seems that it's not possible to set color for individual cells (only for a row).
I didn't find yet the way to set individual row height, i 'm just able to change the height for all rows.
Also a SetListIconItemToolTip() would be nice.
I think i would be the next command i'will add.
You could use the message LVM_SETTOOLTIPS for that.
A+
Denis
Post Reply