Click here to Skip to main content
15,910,878 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: can anybody explain me how the size of an empty class is 1byte Pin
Mark Salsbery27-Nov-07 7:28
Mark Salsbery27-Nov-07 7:28 
GeneralRe: can anybody explain me how the size of an empty class is 1byte Pin
led mike27-Nov-07 7:51
led mike27-Nov-07 7:51 
GeneralRe: can anybody explain me how the size of an empty class is 1byte Pin
Mark Salsbery27-Nov-07 8:05
Mark Salsbery27-Nov-07 8:05 
GeneralRe: can anybody explain me how the size of an empty class is 1byte Pin
Mark Salsbery27-Nov-07 8:06
Mark Salsbery27-Nov-07 8:06 
GeneralRe: can anybody explain me how the size of an empty class is 1byte Pin
led mike27-Nov-07 8:17
led mike27-Nov-07 8:17 
GeneralRe: can anybody explain me how the size of an empty class is 1byte Pin
Christian Graus27-Nov-07 12:28
protectorChristian Graus27-Nov-07 12:28 
GeneralRe: can anybody explain me how the size of an empty class is 1byte Pin
George L. Jackson27-Nov-07 15:10
George L. Jackson27-Nov-07 15:10 
QuestionTreeView control node selection Pin
BuckBrown26-Nov-07 8:16
BuckBrown26-Nov-07 8:16 
Hi, I'm using Visual Studio 2005 C++/CLI. I have a TreeView Control that displays a few nodes with some sub-nodes in each. I have written the application so if I right click on a sub-node I get a ContextMenuStrip where I can select "MenuItem". If I left click on a sub-node FIRST (thus selecting the node) then right click to select "MenuItem", I can then use...

TreeNode^ selectedNode = this->treeViewInstruments->SelectedNode;

...to get a copy of the selected node. However, if I DO NOT left click on the sub-node first and simply right click on it and then select "MenuItem" the above line of code returns an undefined value. I added code to respond to the mouse right click on a node but I can't seem to set the node as selected. I just want to be able to "set the node I just right clicked on to the selected node".

Thanks

Buck
QuestionRe: TreeView control node selection Pin
Nishad S26-Nov-07 16:40
Nishad S26-Nov-07 16:40 
AnswerRe: TreeView control node selection Pin
led mike27-Nov-07 4:57
led mike27-Nov-07 4:57 
GeneralRe: TreeView control node selection Pin
BuckBrown27-Nov-07 12:18
BuckBrown27-Nov-07 12:18 
Questionhoe to get class name that is derived from CSnapInItem class at run time Pin
alien888825-Nov-07 18:27
alien888825-Nov-07 18:27 
AnswerRe: hoe to get class name that is derived from CSnapInItem class at run time Pin
Christian Graus25-Nov-07 19:15
protectorChristian Graus25-Nov-07 19:15 
QuestionSocket in c++ Pin
manish.patel25-Nov-07 16:53
manish.patel25-Nov-07 16:53 
AnswerRe: Socket in c++ Pin
Christian Graus25-Nov-07 19:04
protectorChristian Graus25-Nov-07 19:04 
Questionheeeelp Pin
noonsuliman23-Nov-07 22:45
noonsuliman23-Nov-07 22:45 
AnswerRe: heeeelp Pin
Mark Salsbery24-Nov-07 8:10
Mark Salsbery24-Nov-07 8:10 
QuestionMixed Assembly Performance Degradation on VC++2008 Pin
uusheikh23-Nov-07 20:57
uusheikh23-Nov-07 20:57 
AnswerRe: Mixed Assembly Performance Degradation on VC++2008 Pin
Paul Conrad25-Nov-07 9:22
professionalPaul Conrad25-Nov-07 9:22 
QuestionPrograming for Dummies Pin
shokme27723-Nov-07 10:47
shokme27723-Nov-07 10:47 
AnswerRe: Programing for Dummies Pin
Luc Pattyn23-Nov-07 11:13
sitebuilderLuc Pattyn23-Nov-07 11:13 
AnswerRe: Programing for Dummies Pin
Paul Conrad1-Dec-07 15:18
professionalPaul Conrad1-Dec-07 15:18 
Questionneed little help with copy files Pin
rpcpyz23-Nov-07 10:14
rpcpyz23-Nov-07 10:14 
AnswerRe: need little help with copy files Pin
Mark Salsbery23-Nov-07 10:21
Mark Salsbery23-Nov-07 10:21 
GeneralRe: need little help with copy files Pin
rpcpyz24-Nov-07 11:13
rpcpyz24-Nov-07 11:13 

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.