Library : MoreListiconGadget (only for Windows)

Developed or developing a new product in PureBasic? Tell the world about it.
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Library : MoreListiconGadget (only for Windows)

Post by Denis »

Hi all,

i've written a lib for ListIconGadget but only for WIndows OS.

The lib is MoreListiconGadget And zip file MoreListiconGadget.zip
There are 14 available commands.

You can get it from this page :

English version with english chm Help file :
http://membres.lycos.fr/dennis25/index_en.html

French version with french chm Help file (avec fichier d'aide en francais)
http://membres.lycos.fr/dennis25/index.html


Commands

Code: Select all

GetColumnAlignment() 
GetColumnHeaderFont() 
GetColumnHeaderText() 
GetColumnsNumber() 
GetColumnWidth() 
GetHeaderID() 
GetListIconGadgetColor() 
SetColumnAlignment() 
SetColumnHeaderFont() 
SetColumnHeaderText() 
SetColumnWidth() 
SetHeader() 
SetListIconGadgetColor() 
ShowColumnsHeader() 
If your PB install path is C:\Program files\Purebasic\ , you just have To unzip the lib in folder C:\

If your install path is different, you must unzip the lib in a temp folder and then copy the unziped folders to your path.
Take a look to Help file, section installation to get infos about folders.
Use F1 key to get infos upon commands (like PB help file).

I've done tests under Win98SE + all update and french coders have tried it under XP Pro and it seems working without problems. If you get some, let me know.


Denis
A+
Denis
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Very usefull : less API stuff to do !
Thanks !
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Tks, :D

That's why i done it... :wink:


Denis
A+
Denis
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Nice work! very helpfull :)
--Kale

Image
Searhin
User
User
Posts: 41
Joined: Mon May 26, 2003 10:53 am
Location: Germany

Post by Searhin »

Amazing Work! Thanx for sharing :roll:
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Post by dige »

Hi Dennis,
maybe there is a bug in the function: SetListIconGadgetColor(),
because I cant use a Flag.
The compiler says "incorrect numbers of parameters"
It only works with 2 parameters...

cya dige

PS: I use the english version and PB v3.71b2
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Post by dige »

dige wrote:Hi Dennis,
maybe there is a bug in the function: SetListIconGadgetColor(),
:wink: ... ups, no bug ... I should read more carefully the manual...
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Post by naw »

Hi, Brilliant and best of all so *beautifully* documented as well, if only everyone did their libs so completely ;-)
Ta - N
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Hi dige, :wink:

may be there are some bugs in my lib (i already fixed one for the next version - there will be some new commands too)

Hi naw,
Tks a lot, and guess what : The doc take half of my time when i was wrinting this libs. :mrgreen:


Denis
A+
Denis
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Post by dige »

Denis wrote:...there will be some new commands too)
Yeah cool! What about some functions like this:
LIGadgetItemColor() ... to color only one row or one item
LIGadgetItemFont() ... to change fontstyle in one row or colum

Is it possible?

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

Post by Denis »

LIGadgetItemColor() ... to color only one row or one item
LIGadgetItemFont() ... to change fontstyle in one row or colum

Is it possible?

Hi dige,

i'll take a closer look and if it is possible, i will add these commands :wink:

Denis
A+
Denis
Searhin
User
User
Posts: 41
Joined: Mon May 26, 2003 10:53 am
Location: Germany

Post by Searhin »

Hi Denis,

are you still working on your magnificent lib? :D
what about a command to set the color of the header? Right now i disable the header with your ShowColumnsHeader(), coz it's so ugly grey...
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

what about a command to set the color of the header? Right now i disable the header with your ShowColumnsHeader(), coz it's so ugly grey...
Hi Searhin,

i've already thinking about to set header color but i didn't find the solution yet. If i find it, i will add it.


Denis
A+
Denis
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Again thanks for this LIB.

Is it possible to change the color of only one cell (not a row, not a column, only a single cell) in a ListIconGadget ?

I'de like something like SetListIconCellColor(#Gadget,Row,Col,Color).
ebs
Enthusiast
Enthusiast
Posts: 557
Joined: Fri Apr 25, 2003 11:08 pm

Post by ebs »

gnozal,

If you feel up to working with a window callback routine, check out my code at viewtopic.php?t=6088&start=0.

It's certainly not as neat and easy as using Denis' library, but it works! :wink:

Eric
Post Reply