Click here to Skip to main content
15,904,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Pointer Maths Pin
Legor12-Jul-11 3:55
Legor12-Jul-11 3:55 
GeneralRe: Pointer Maths Pin
Rick York13-Jul-11 18:39
mveRick York13-Jul-11 18:39 
GeneralRe: Pointer Maths Pin
Legor17-Jul-11 0:39
Legor17-Jul-11 0:39 
GeneralRe: Pointer Maths Pin
enhzflep13-Jul-11 19:14
enhzflep13-Jul-11 19:14 
GeneralRe: Pointer Maths Pin
Richard MacCutchan13-Jul-11 21:53
mveRichard MacCutchan13-Jul-11 21:53 
QuestionHow to do 2 or more process simultaneously? Pin
Le@rner12-Jul-11 2:21
Le@rner12-Jul-11 2:21 
QuestionRe: How to do 2 or more process simultaneously? Pin
CPallini12-Jul-11 3:02
mveCPallini12-Jul-11 3:02 
AnswerRe: How to do 2 or more process simultaneously? Pin
Le@rner12-Jul-11 18:26
Le@rner12-Jul-11 18:26 
GeneralRe: How to do 2 or more process simultaneously? [fixed] Pin
CPallini12-Jul-11 21:09
mveCPallini12-Jul-11 21:09 
GeneralRe: How to do 2 or more process simultaneously? Pin
Le@rner12-Jul-11 21:16
Le@rner12-Jul-11 21:16 
GeneralRe: How to do 2 or more process simultaneously? Pin
CPallini12-Jul-11 21:24
mveCPallini12-Jul-11 21:24 
AnswerRe: How to do 2 or more process simultaneously? Pin
Albert Holguin12-Jul-11 4:56
professionalAlbert Holguin12-Jul-11 4:56 
AnswerRe: How to do 2 or more process simultaneously? Pin
jschell12-Jul-11 10:21
jschell12-Jul-11 10:21 
GeneralRe: How to do 2 or more process simultaneously? Pin
Le@rner12-Jul-11 19:54
Le@rner12-Jul-11 19:54 
GeneralRe: How to do 2 or more process simultaneously? Pin
Chris Walters13-Jul-11 6:24
Chris Walters13-Jul-11 6:24 
AnswerRe: How to do 2 or more process simultaneously? Pin
Eugen Podsypalnikov12-Jul-11 22:18
Eugen Podsypalnikov12-Jul-11 22:18 
GeneralRe: How to do 2 or more process simultaneously? Pin
Le@rner15-Jul-11 21:57
Le@rner15-Jul-11 21:57 
QuestionHow to set the multi selection property of a list box as TRUE through the code Pin
Amrit Agr12-Jul-11 0:34
Amrit Agr12-Jul-11 0:34 
AnswerRe: How to set the multi selection property of a list box as TRUE through the code Pin
Richard MacCutchan12-Jul-11 0:37
mveRichard MacCutchan12-Jul-11 0:37 
AnswerRe: How to set the multi selection property of a list box as TRUE through the code Pin
Eugen Podsypalnikov13-Jul-11 0:16
Eugen Podsypalnikov13-Jul-11 0:16 
QuestionHow to catch TVM_DELETE or TVN_DELTEITEM from a custom tree control. Pin
Amrit Agr11-Jul-11 20:29
Amrit Agr11-Jul-11 20:29 
AnswerRe: How to catch TVM_DELETE or TVN_DELTEITEM from a custom tree control. Pin
Code-o-mat11-Jul-11 21:50
Code-o-mat11-Jul-11 21:50 
GeneralRe: How to catch TVM_DELETE or TVN_DELTEITEM from a custom tree control. Pin
Amrit Agr11-Jul-11 23:21
Amrit Agr11-Jul-11 23:21 
GeneralRe: How to catch TVM_DELETE or TVN_DELTEITEM from a custom tree control. Pin
Code-o-mat11-Jul-11 23:30
Code-o-mat11-Jul-11 23:30 
AnswerRe: How to catch TVM_DELETE or TVN_DELTEITEM from a custom tree control. Pin
Richard MacCutchan11-Jul-11 23:44
mveRichard MacCutchan11-Jul-11 23:44 
From what you are saying here you are mis-using this message. You should capture the TVN_DELETEITEM notification in your TreeView control and use the information passed to you to decide what action to take. You should then call your alternative function directly to perform whatever actions are necessary; there is no need to use (and you probably should not use) SendMessage() for that purpose. Something like:
ON_NOTIFY(TVN_DELETEITEM, id, DoTvnDelete)
...
LRESULT DoTvnDelete(...)
{
    // do some work here
    LRESULT lrc = DoDeleteAction(parameters ...);
    // do some more work here
    return someResult;
}

The best things in life are not things.

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.