Click here to Skip to main content
15,887,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to detect Listctrl check box selection/deselection Pin
hemlat1-Jul-09 1:22
hemlat1-Jul-09 1:22 
AnswerRe: how to detect Listctrl check box selection/deselection Pin
Jijo.Raj1-Jul-09 1:45
Jijo.Raj1-Jul-09 1:45 
GeneralRe: how to detect Listctrl check box selection/deselection Pin
hemlat1-Jul-09 2:04
hemlat1-Jul-09 2:04 
GeneralRe: how to detect Listctrl check box selection/deselection Pin
Stuart Dootson1-Jul-09 2:40
professionalStuart Dootson1-Jul-09 2:40 
GeneralRe: how to detect Listctrl check box selection/deselection Pin
hemlat1-Jul-09 3:08
hemlat1-Jul-09 3:08 
GeneralRe: how to detect Listctrl check box selection/deselection Pin
CPallini1-Jul-09 3:21
mveCPallini1-Jul-09 3:21 
GeneralRe: how to detect Listctrl check box selection/deselection Pin
hemlat1-Jul-09 20:46
hemlat1-Jul-09 20:46 
GeneralRe: how to detect Listctrl check box selection/deselection Pin
Stuart Dootson1-Jul-09 3:31
professionalStuart Dootson1-Jul-09 3:31 
hemlat wrote:
I have used both LVN_ITEMCHANGING and LVN_ITEMCHANGED . But these these are sent not only for check box selection but also for another events like adding items to Listctrl.


That's right. So you (YOU) need to add code to those handlers to determine whether or not an items check state has changed. Here's a hint - the checkbox is implemented as an state image overlay - look up LVIS_STATEIMAGEMASK in the list-view item state flags.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: how to detect Listctrl check box selection/deselection Pin
hemlat1-Jul-09 20:47
hemlat1-Jul-09 20:47 
Questionabstract class Pin
MozhdehQeraati1-Jul-09 0:31
MozhdehQeraati1-Jul-09 0:31 
AnswerRe: abstract class Pin
Stuart Dootson1-Jul-09 0:46
professionalStuart Dootson1-Jul-09 0:46 
AnswerRe: abstract class Pin
ochsenmeier marc1-Jul-09 0:51
ochsenmeier marc1-Jul-09 0:51 
QuestionDebug Assertion Failed in atlcomcli.h. Pin
Le@rner30-Jun-09 21:20
Le@rner30-Jun-09 21:20 
AnswerRe: Debug Assertion Failed in atlcomcli.h. Pin
KarstenK30-Jun-09 21:33
mveKarstenK30-Jun-09 21:33 
GeneralRe: Debug Assertion Failed in atlcomcli.h. Pin
Le@rner30-Jun-09 21:37
Le@rner30-Jun-09 21:37 
GeneralRe: Debug Assertion Failed in atlcomcli.h. Pin
KarstenK30-Jun-09 22:16
mveKarstenK30-Jun-09 22:16 
GeneralRe: Debug Assertion Failed in atlcomcli.h. Pin
Stuart Dootson30-Jun-09 22:57
professionalStuart Dootson30-Jun-09 22:57 
GeneralRe: Debug Assertion Failed in atlcomcli.h. Pin
Le@rner30-Jun-09 22:27
Le@rner30-Jun-09 22:27 
AnswerRe: Debug Assertion Failed in atlcomcli.h. Pin
Stuart Dootson30-Jun-09 22:02
professionalStuart Dootson30-Jun-09 22:02 
GeneralRe: Debug Assertion Failed in atlcomcli.h. Pin
Le@rner30-Jun-09 23:46
Le@rner30-Jun-09 23:46 
GeneralRe: Debug Assertion Failed in atlcomcli.h. Pin
«_Superman_»30-Jun-09 23:56
professional«_Superman_»30-Jun-09 23:56 
GeneralRe: Debug Assertion Failed in atlcomcli.h. Pin
Le@rner30-Jun-09 23:59
Le@rner30-Jun-09 23:59 
Question_variant_t to CStringArray Pin
Davitor30-Jun-09 21:13
Davitor30-Jun-09 21:13 
AnswerRe: _variant_t to CStringArray Pin
CPallini30-Jun-09 21:29
mveCPallini30-Jun-09 21:29 
AnswerRe: _variant_t to CStringArray Pin
Stuart Dootson30-Jun-09 21:53
professionalStuart Dootson30-Jun-09 21:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.