Results 1 to 3 of 3

Thread: How to create .Net custom checkboxes for listview

  1. #1
    Join Date
    Aug 2008
    Posts
    90

    How to create .Net custom checkboxes for listview

    I have project requirement in which there need to create a thumbnail listview with checkbox for each item. I have designed the ListView control but it isn't pretty good enough and the checkbox location cannot be configured (it always aligns to bottom left corner and occupied too much space, anyway to change checkbox location? seems there is no such setting even by win32 p/invoke). The designing the checkboxes seems to be very complicated to design otherwise can we use custom checkboxes?
    Regards

  2. #2
    Join Date
    Jan 2009
    Posts
    99

    Re: How to create .Net custom checkboxes for listview

    To have nice checkboxes in a list view control need to have custom graphics if you could make it so and it would be 16x16 px bitmap image and draw it over the original check box. You also need to handle the OnAdvancedCustomDrawItem event that can be customize by drawing of individual items on the list view's canvas (using the Canvas property). OnAdvancedCustomDrawItem occurs at various stages in the rendering of a list item. Or else if you want to have a nice check box displayed next to the item you may also use 2 custom images - one for the checked state and one for the non-checked state.

  3. #3
    Join Date
    Feb 2009
    Posts
    105

    Re: How to create .Net custom checkboxes for listview

    I have also tried doing so but it was bit lengthy as well as confusing so i used custom software which provides me grid based/database applications, Most grids and ListViews today are heavily DB oriented that tend to perform poorly when presented with large amounts of data. But Glacial ListView attempts to fill this need by providing an extremely high performance .Net control with no ActiveX or unmanaged code.

Similar Threads

  1. Replies: 8
    Last Post: 06-05-2012, 12:21 PM
  2. Replies: 6
    Last Post: 10-07-2011, 11:13 AM
  3. I want to create a Custom Boot Disk
    By Zared in forum Operating Systems
    Replies: 5
    Last Post: 25-12-2010, 07:53 AM
  4. How to Create and use custom classes in VB 6.0?
    By Mr.ken in forum Software Development
    Replies: 4
    Last Post: 27-02-2010, 06:39 AM
  5. How to create custom accelerator in XML
    By Broot in forum Software Development
    Replies: 3
    Last Post: 18-07-2009, 10:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,289,622.90234 seconds with 17 queries