Click here to Skip to main content
15,921,179 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pointer Maths Pin
Stefan_Lang12-Jul-11 4:16
Stefan_Lang12-Jul-11 4:16 
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 
Amrit Agr wrote:
I want to handle TVM_DELETE or TVN_DELTEITEM from a custom tree control in other file( which is derived from CFormView ).
What do you mean by that? You want to give the implementation of the handlers for those notifications in a different file than the one that hosts your CFormView derivative's implementation?

Amrit Agr wrote:
From tree control, I am trying to send
 
SendMessage(TVM_DELETEITEM, WPARAM(0), LPARAM(hItem));
You are sending that message from the tree control where? How? To where? TVM_DELETEITEM is sent TO the tree control usually to delete an item, not by the tree control.
Amrit Agr wrote:
I have handled this msg in view file like this
 
 ON_MESSAGE(TVM_DELETEITEM, OnTvmDeleteItem )
 
but it simply delete the item and doesn't caught at  OnTvmDeleteItem().
This implies that you want to handle the delete-item in your custom tree control, is that correct?

Amrit Agr wrote:
I have also tried to send TVN_DELTEITEM with ON_NOTIFY_MESSAGE(), but still it doesn't work.
You use ON_NOTIFY_MESSAGE to catch messages, not to send them, what you say here is confusing.

Please try to explain a bit more clearly what exactly you are trying to do.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<

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 

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.