Solved

Getting "Item Selected" message from a CListCtrl

Posted on 1998-07-30
2
214 Views
Last Modified: 2013-11-19
Hi,

I need to get a message when an item is selected in my ListBox.
The reason is for that is because I want to enable/disable a button in my dialog according to the number of selected items.

Thanks in advance
0
Comment
Question by:israel022697
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1319957
You need to use LBN_SELCHANGE. This is a notification from the listbox that something about the selection has changed.
0
 

Author Comment

by:israel022697
ID: 1319958
How can I use it with MFC ?
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to create frequencies of a variable from SAS dataset? 10 125
maxBlock challenge 30 131
sumHeights2  challenge 7 108
Work with App store 7 55
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question