Click here to Skip to main content
16,010,022 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalfile and directory copy exclude directory Pin
Le Ridder Noir25-Jun-01 23:09
Le Ridder Noir25-Jun-01 23:09 
GeneralRe: file and directory copy exclude directory Pin
Tomasz Sowinski26-Jun-01 0:04
Tomasz Sowinski26-Jun-01 0:04 
GeneralRe: file and directory copy exclude directory Pin
Le Ridder Noir26-Jun-01 1:21
Le Ridder Noir26-Jun-01 1:21 
GeneralRe: file and directory copy exclude directory Pin
Obliterator26-Jun-01 4:55
Obliterator26-Jun-01 4:55 
Generaldebuging a vector Pin
25-Jun-01 21:34
suss25-Jun-01 21:34 
GeneralRe: debuging a vector Pin
Christian Graus25-Jun-01 23:45
protectorChristian Graus25-Jun-01 23:45 
QuestionHow to reflect the changes made in view to document Pin
pathi25-Jun-01 21:23
pathi25-Jun-01 21:23 
GeneralListCtrl ... Am I using the correct control Pin
Michael Martin25-Jun-01 20:39
professionalMichael Martin25-Jun-01 20:39 
OK the background information first, I am writing a dialog based application that sits on top of a database (sounds exciting already doesn't it). If the user clicks the Customer button he is magically transported to another dialog (remarkable) that has a ListCtrl in Report mode that lists all the Customers (OK, so far so good).

The next amazing leap of logic requires me to enable the user to update or delete customers. I thought that I would have the user click on the required Customer row (logical isn't it?) and then enable Change/Delete and process from there.

Problem is when I click on a row only the first column in that row is highlighted (not the whole row) and I have to click on the data itself not just the cell (I know it's not a cell per se (been wanting to use that phrase for years) but you get the idea).

Now I have been into ClassWizard and looked at the available messages and the associated descriptions that appear at the bottom of the dialog box and none of them seem to be the one I want. I tried a few and they weren't the one's I wanted, I could only get recognition of a click to a ListCtrl header.

I then tried using Spy++ (I am not experienced with this tool) but all I could see were mouse move, mouse button down and destroy messages. None of which helped me.

Questions are -

1. What message should I be looking for when clicking on a ListCtrl row?
2. Can I get the whole row to highlight?
3. If a ListCtrl is the wrong control what should I be using?

Any other hints, tips or suggestions eagerly accepted.


Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
GeneralRe: ListCtrl ... Am I using the correct control Pin
Michael Dunn25-Jun-01 20:44
sitebuilderMichael Dunn25-Jun-01 20:44 
GeneralRe: ListCtrl ... Am I using the correct control Pin
Michael Martin25-Jun-01 20:51
professionalMichael Martin25-Jun-01 20:51 
GeneralRe: ListCtrl ... Am I using the correct control Pin
Erik Funkenbusch25-Jun-01 21:24
Erik Funkenbusch25-Jun-01 21:24 
GeneralPlatform SDK Pin
Michael Martin25-Jun-01 20:16
professionalMichael Martin25-Jun-01 20:16 
GeneralRe: Platform SDK Pin
markkuk25-Jun-01 20:34
markkuk25-Jun-01 20:34 
GeneralRe: Platform SDK Pin
Michael Martin25-Jun-01 20:47
professionalMichael Martin25-Jun-01 20:47 
GeneralRe: Platform SDK Pin
Michael Dunn25-Jun-01 20:48
sitebuilderMichael Dunn25-Jun-01 20:48 
GeneralRe: Platform SDK Pin
Michael Martin25-Jun-01 20:59
professionalMichael Martin25-Jun-01 20:59 
QuestionWhat is this code ?!!! Pin
Hadi Rezaee25-Jun-01 18:28
Hadi Rezaee25-Jun-01 18:28 
AnswerRe: What is this code ?!!! Pin
Ben Burnett25-Jun-01 20:56
Ben Burnett25-Jun-01 20:56 
GeneralRe: What is this code ?!!! Pin
Hadi Rezaee26-Jun-01 0:05
Hadi Rezaee26-Jun-01 0:05 
GeneralRe: What is this code ?!!! Pin
Ben Burnett26-Jun-01 10:20
Ben Burnett26-Jun-01 10:20 
GeneralRe: What is this code ?!!! Pin
Hadi Rezaee26-Jun-01 19:55
Hadi Rezaee26-Jun-01 19:55 
GeneralRe: What is this code ?!!! Pin
Hadi Rezaee27-Jun-01 19:51
Hadi Rezaee27-Jun-01 19:51 
GeneralRe: What is this code ?!!! Pin
markkuk27-Jun-01 21:44
markkuk27-Jun-01 21:44 
GeneralRe: What is this code ?!!! Pin
Hadi Rezaee28-Jun-01 10:25
Hadi Rezaee28-Jun-01 10:25 
AnswerRe: What is this code ?!!! Pin
Carlos Antollini28-Jun-01 10:41
Carlos Antollini28-Jun-01 10:41 

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.