MFC 7 in studio 2005, #region possible?
-
HI All, Is it possible to use #region in MFC 7 (unmanaged c++) in visual studio 2005? If so how do I do that? Cheers, Greg
-
HI All, Is it possible to use #region in MFC 7 (unmanaged c++) in visual studio 2005? If so how do I do that? Cheers, Greg
I'm on MFC 7 with VS2003 and I see no #region directive associated with C++. Is it related to making the code collapsible in the editor? If so that can be done by marking a block of code and using the Outline stuff in the edit menu or with a right click. Mark
"Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")
-
I'm on MFC 7 with VS2003 and I see no #region directive associated with C++. Is it related to making the code collapsible in the editor? If so that can be done by marking a block of code and using the Outline stuff in the edit menu or with a right click. Mark
"Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")
Thank you so much, that was it!!! Cheers, Greg
-
HI All, Is it possible to use #region in MFC 7 (unmanaged c++) in visual studio 2005? If so how do I do that? Cheers, Greg
The equivalent of a #region in C# is #pragma region and #pragma endregion.
-
The equivalent of a #region in C# is #pragma region and #pragma endregion.
:doh: I didn't even think of the #pragmas! Learn somethin new every day :) Thanks, Mark
"Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")