Multiple checkboxes in an ExListViewCtrl

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Gratch06
Posts: 141
Joined: 2003-05-25 01:48
Location: USA

Multiple checkboxes in an ExListViewCtrl

Post by Gratch06 » 2003-09-22 14:15

I know that you can set the LVS_EX_CHECKBOXES and get a single checkbox at the left hand edge of the control. How would I go about adding a checkbox to, say, another column? My basic goal is to have two checkboxes in Favorite Hubs, one for AutoConnect, and one for Show Parts/Joins. Is this possible or outside the bounds of the ExListViewCtrl?

Thanks,
-Gratch06

Twink
Posts: 436
Joined: 2003-03-31 23:31
Location: New Zealand

Post by Twink » 2003-09-22 18:03

I dont think there is anything built in to do this, however u may be able to do it with an owner draw solution (I presume wtl can do this), by making ur own class and inheriting from the list control... but that's alot of effort just to get an extra tickbox.

Gratch06
Posts: 141
Joined: 2003-05-25 01:48
Location: USA

Post by Gratch06 » 2003-09-22 23:03

Yes Twink, that's what I call too much work!

I suppose the next question comes along...what alternate implementation would you (collectively) reccommend? I can do it so it saves on a per hub basis, just without any interface support (kind of a blind work in back feature), but I really didn't like that idea. I would like some sort of interface for it if possible. Any other alternate coding suggestions/methods to do this?

-Gratch06

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 17:15

Post by arnetheduck » 2003-09-23 04:28

add it to the properties window?

Flow84
Posts: 31
Joined: 2004-11-08 17:59

Post by Flow84 » 2004-12-13 19:05

Hi.

I need 2 checkboxes as well.

i am building my bot on dc++ 0.667

any idea on how i can do this?

there have to be something more i can do that doesnt mean i have to rewrite the draw..



Locked