Change Checkbox Image in Listview Control 
Author Message
 Change Checkbox Image in Listview Control

I'm writing an application that resembles a threaded newsreader.  I've been
trying to reproduce the threading functionality of Outlook Express ("+"
symbol for expand, "-" symbol for contract).  After monkeying around with
image lists and such, I've decided that I can reproduce what I need by
enabling checkboxes.  What would be nice is if I could change the checkbox
images to something a little more applicable.  Is there a way through
SendMessage to change the checkbox image?

---
AC



Sun, 12 Sep 2004 03:48:00 GMT  
 Change Checkbox Image in Listview Control
why dont you use a treeview?


Quote:
> I'm writing an application that resembles a threaded newsreader.  I've been
> trying to reproduce the threading functionality of Outlook Express ("+"
> symbol for expand, "-" symbol for contract).  After monkeying around with
> image lists and such, I've decided that I can reproduce what I need by
> enabling checkboxes.  What would be nice is if I could change the checkbox
> images to something a little more applicable.  Is there a way through
> SendMessage to change the checkbox image?

> ---
> AC



Sun, 12 Sep 2004 05:06:39 GMT  
 Change Checkbox Image in Listview Control

Quote:


> > I'm writing an application that resembles a threaded newsreader.  I've
been
> > trying to reproduce the threading functionality of Outlook Express ("+"
> > symbol for expand, "-" symbol for contract).  After monkeying around
with
> > image lists and such, I've decided that I can reproduce what I need by
> > enabling checkboxes.  What would be nice is if I could change the
checkbox
> > images to something a little more applicable.  Is there a way through
> > SendMessage to change the checkbox image?
> why dont you use a treeview?

Mainly because I want to use the header/column functionality, which, as far
as I'm aware, is lacking in the standard Treeview control.

---
AaronC



Sun, 12 Sep 2004 05:21:44 GMT  
 Change Checkbox Image in Listview Control
Brad had a demo of using custom state icons for either a lv I believe, at
www.mvps.org/btmtz/

--

Randy Birch
MVP Visual Basic

http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.


Quote:




> > > I'm writing an application that resembles a threaded newsreader.  I've
> been
> > > trying to reproduce the threading functionality of Outlook Express
("+"
> > > symbol for expand, "-" symbol for contract).  After monkeying around
> with
> > > image lists and such, I've decided that I can reproduce what I need by
> > > enabling checkboxes.  What would be nice is if I could change the
> checkbox
> > > images to something a little more applicable.  Is there a way through
> > > SendMessage to change the checkbox image?

> > why dont you use a treeview?

> Mainly because I want to use the header/column functionality, which, as
far
> as I'm aware, is lacking in the standard Treeview control.

> ---
> AaronC



Sun, 12 Sep 2004 08:09:13 GMT  
 Change Checkbox Image in Listview Control
Looks like just what the doctor ordered.  Thanks.

--
AC


Quote:
> Brad had a demo of using custom state icons for either a lv I believe, at
> www.mvps.org/btmtz/

> --

> Randy Birch
> MVP Visual Basic

> http://www.mvps.org/vbnet/
> Please respond only to the newsgroups so all can benefit.







> > > > I'm writing an application that resembles a threaded newsreader.
I've
> > been
> > > > trying to reproduce the threading functionality of Outlook Express
> ("+"
> > > > symbol for expand, "-" symbol for contract).  After monkeying around
> > with
> > > > image lists and such, I've decided that I can reproduce what I need
by
> > > > enabling checkboxes.  What would be nice is if I could change the
> > checkbox
> > > > images to something a little more applicable.  Is there a way
through
> > > > SendMessage to change the checkbox image?

> > > why dont you use a treeview?

> > Mainly because I want to use the header/column functionality, which, as
> far
> > as I'm aware, is lacking in the standard Treeview control.

> > ---
> > AaronC



Mon, 13 Sep 2004 01:45:04 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Changing Image in a Listview control?

2. Checkbox image in ListView

3. changing the background of a listview item in the listview control

4. Checkboxes in the Listview-control

5. Checkboxes disappearing in listview control on Access form

6. VB6:TripleState Checkboxes in TreeView and ListView controls?

7. Checkboxes disappearing in listview control on Access form

8. How to add a column of checkbox control to Listview

9. Checkboxes in a ListView control

10. ListView Control with checkboxes

11. ListView control with checkboxes

12. Need listview type control with checkboxes

 

 
Powered by phpBB® Forum Software