|
-
February 5th, 2004, 12:38 AM
#1
Subitem selection in the CListCtrl
Hi All,
I am selecting subitems in listview(report type) ....but selection of subitem is not allowed till you click over or select the item(any) first.
If any one knows sol.. please help me out.
And after this problem...if i select the subitem....focus remains on the item and secondly, the selection of subitem is not proper....that is some part remains unselected. ..why?
thanks
dhani99
have a nice day!
-
February 5th, 2004, 01:31 AM
#2
use this style.
SetExtendedStyle(LVS_EX_FULLROWSELECT );
Best Api Monitor tool.
Trace the target program automatically and monitor the parameters of all API and COM interfaces.
Auto Debug for Windows 4.0
Auto Debug for .Net
http://www.autodebug.com/
-
February 5th, 2004, 02:24 AM
#3
Hi,
thanks for reply but ...it is not , what i want....
I don't want full row to be selected...i want individual item selection. In that too.. i am able to select the subitem...but the problem is that the control doesn't allows me to select the subitem untill i select any one of the item.
dhani99
have a nice day!
-
February 5th, 2004, 02:34 AM
#4
You will not selecting through but you want it to be selected programatically?
-
February 5th, 2004, 02:43 AM
#5
Originally posted by dhani99
thanks for reply but ...it is not , what i want....
I don't want full row to be selected...i want individual item selection.
The list control doesn't provide the possibility to select individual subitems (subitems are not really items, they're just some kind of additional label for an item). Have a look at the articles section for list controls, there are some articles which show how to implement subitem selection and editable subitems.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|