Click here to Skip to main content
15,924,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy public destructors? Pin
Anonymous20-Sep-04 11:16
Anonymous20-Sep-04 11:16 
AnswerRe: Why public destructors? Pin
Christian Graus20-Sep-04 11:30
protectorChristian Graus20-Sep-04 11:30 
GeneralRe: Why public destructors? Pin
Anonymous20-Sep-04 11:53
Anonymous20-Sep-04 11:53 
GeneralRe: Why public destructors? Pin
Jörgen Sigvardsson20-Sep-04 13:22
Jörgen Sigvardsson20-Sep-04 13:22 
GeneralRe: Why public destructors? Pin
Christian Graus20-Sep-04 16:16
protectorChristian Graus20-Sep-04 16:16 
GeneralHelp with CTreeCtrl TVS_HASBUTTONS vs NM_CLICK Pin
Cedar Sith20-Sep-04 11:00
Cedar Sith20-Sep-04 11:00 
GeneralRe: Help with CTreeCtrl TVS_HASBUTTONS vs NM_CLICK Pin
Aamir Butt20-Sep-04 22:16
Aamir Butt20-Sep-04 22:16 
GeneralRe: Help with CTreeCtrl TVS_HASBUTTONS vs NM_CLICK Pin
Cedar Sith21-Sep-04 8:40
Cedar Sith21-Sep-04 8:40 
I am writing a script that allows for nodes on tree to be transferred to another tree. They are side by side in a dialog box.

What I want is the tree to expand and collapse when the +/- button is pressed and when the node receives a single-click to simply highlight and when the node is double-cliked to then move the node to the other tree.

Right now the +/- button, single-click and double click all expand the tree plus carryout the above mentioned functionality. It is too confusing for end-users. Even I hate it.

So I am looking for a way to caught the above mention three clicks and then parse them as needed. Basically pass the +/- click on to expand/collapse the tree and do nothing with the single and double click.

Do you have any examples of code were I can caught the expand/collapse action. I have tried a TVN_ITEMEXPANDING on_notify and on_notify_reflect in both the parent dialog box and the cmytreeview class to no avail. It doesn't seem to catch the event. I have doubled checked to make sure that I have all of the includes and base classes.

Any help and examples would be appreciated
GeneralRe: Help with CTreeCtrl TVS_HASBUTTONS vs NM_CLICK Pin
RChin21-Sep-04 0:35
RChin21-Sep-04 0:35 
GeneralMFC/VBA question Pin
mdave20-Sep-04 10:44
mdave20-Sep-04 10:44 
GeneralRe: MFC/VBA question Pin
User 58385220-Sep-04 20:27
User 58385220-Sep-04 20:27 
GeneralRe: MFC/VBA question Pin
RChin21-Sep-04 0:45
RChin21-Sep-04 0:45 
GeneralRe: MFC/VBA question Pin
RChin21-Sep-04 0:46
RChin21-Sep-04 0:46 
GeneralUrgent... help needed... Image format conversion into BMP format in vc++ Pin
Kiran Satish20-Sep-04 10:26
Kiran Satish20-Sep-04 10:26 
GeneralRe: Not much help but... Pin
Budric B.20-Sep-04 10:41
Budric B.20-Sep-04 10:41 
GeneralRe: Not much help but... Pin
Kiran Satish20-Sep-04 10:51
Kiran Satish20-Sep-04 10:51 
GeneralRe: Not much help but... Pin
Christian Graus20-Sep-04 11:13
protectorChristian Graus20-Sep-04 11:13 
GeneralRe: Not much help but... Pin
Kiran Satish20-Sep-04 12:15
Kiran Satish20-Sep-04 12:15 
GeneralRe: Not much help but... Pin
Christian Graus20-Sep-04 12:17
protectorChristian Graus20-Sep-04 12:17 
GeneralRe: Not much help but... Pin
Kiran Satish20-Sep-04 16:49
Kiran Satish20-Sep-04 16:49 
GeneralRe: Not much help but... Pin
Christian Graus20-Sep-04 16:58
protectorChristian Graus20-Sep-04 16:58 
GeneralRe: Not much help but... Pin
Anonymous21-Sep-04 7:24
Anonymous21-Sep-04 7:24 
GeneralRe: Not much help but... Pin
Christian Graus21-Sep-04 10:16
protectorChristian Graus21-Sep-04 10:16 
GeneralRe: Not much help but... Pin
Kiran Satish21-Sep-04 18:42
Kiran Satish21-Sep-04 18:42 
GeneralRe: Not much help but... Pin
Christian Graus22-Sep-04 10:21
protectorChristian Graus22-Sep-04 10:21 

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.