Announcement

Collapse
No announcement yet.

Listbox with Checkbox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Michael Mattias
    replied
    This is for a listVIEW control, but it includes time-tested drawing of checkboxes...

    Listview with Multiple Checkbox Columns Demo 2-20-05

    Leave a comment:


  • Edwin Knoppert
    replied
    WM_DRAWITEM is handled wrong, read: not handled.
    A common mistake

    Leave a comment:


  • Dean Schrage
    replied
    Bob, thanks, but I just reworked the layout and added the toggle check and get check. Someone far more capable created the basic functionality.

    Leave a comment:


  • BOB MECHLER
    replied
    The benefit for me was in the subclassing and ownerdrawing that was cleanly demonstrated. I've been pretty weak in both areas.

    Bob Mechler

    Leave a comment:


  • Michael Mattias
    replied
    I think you are referring to this....

    PowerBASIC and related source code. Please do not post questions or discussions, just source code.


    Not that this isn't a nice example of owner-drawing, but wouldn't a ListVIEW control with Style LVS_EX_CHECKBOXES be an easier way to accomplish the same thing?

    No subclassing, no owner-draw. Of course, owner-drawing may have been the purpose of the demo.

    MCM

    Leave a comment:


  • BOB MECHLER
    started a topic Listbox with Checkbox

    Listbox with Checkbox

    Dean,

    Thanks for the a nice subclassing of a listbox example with checkbox in the source code area. Very clear presentation.

    Bob Mechler
Working...
X