how can i create and control a multi-colon listbox control?
please point me to a good tut or e-book.
thanks.
how can i create and control a multi-colon listbox control?
please point me to a good tut or e-book.
thanks.
how can i create and control a multi-colon listbox control?Anyway...http://www.medterms.com
Colon: The part of the large intestine that runs from the cecum to the rectum as a long hollow tube that serves to remove water from digested food and let the remaining material, solid waste called stool, move through it to the rectum and leave the body through the anus. .
Specify WC_LISTVIEW as the class name when calling CreateWindow. I'm still struggling with these lists so you have to check the rest at MSDN or something.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Well, see Magos's definition for 'colon'.Originally posted by Devil Panther
how can i create and control a multi-colon listbox control?
please point me to a good tut or e-book.
thanks.
But if you want a multi-column listbox then give it the LBS_MULTICOLUMN style when you create it. You 'control' it by handling listbox messages which are prefixed with LB_ or LBS_ - search msdn for precise details.
Alternatively, you may wish to use the common control 'listview' as suggested by Magos.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
I know how to work with a list box,
but how do I send each column the wished value?
thanks, again.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
>>I know how to work with a list box,<<
Of course, which is why you are asking these questions...
>>but how do I send each column the wished value?<<
It doesn't work quite like that.
If you want individually addressable columns then Magos's suggestion of a using a listview common control is a better option. Search this board for examples (there are a few) and don't forget to check out msdn, too.
The attached program creates and populates a multi column list box. This is not a particulaly sophisticated control. If you want more control, the as suggested already, look at listviews or one of the grids.
*** EDIT ***
Okay, so Ken gives you the answer while I'm writing the example program for you!
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
thanks guys.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
just one more thing, how can I make separate columns, each one with i's own subject at top, like the one outlook has.
thanks.