Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Converting to VC8 Pin
Nish Nishant4-Oct-06 8:10
sitebuilderNish Nishant4-Oct-06 8:10 
GeneralRe: Converting to VC8 Pin
Waldermort4-Oct-06 8:14
Waldermort4-Oct-06 8:14 
AnswerRe: Converting to VC8 Pin
David Crow4-Oct-06 9:08
David Crow4-Oct-06 9:08 
AnswerRe: Converting to VC8 Pin
Christian Graus4-Oct-06 9:44
protectorChristian Graus4-Oct-06 9:44 
GeneralRe: Converting to VC8 Pin
Waldermort4-Oct-06 9:55
Waldermort4-Oct-06 9:55 
GeneralRe: Converting to VC8 Pin
Christian Graus4-Oct-06 10:03
protectorChristian Graus4-Oct-06 10:03 
GeneralRe: Converting to VC8 Pin
Waldermort4-Oct-06 10:46
Waldermort4-Oct-06 10:46 
AnswerRe: Converting to VC8 Pin
Michael Dunn4-Oct-06 14:34
sitebuilderMichael Dunn4-Oct-06 14:34 
waldermort wrote:
enum Keys
{
classesRoot = HKEY_CLASSES_ROOT,
};


If you don't really need an enum type, it might be better to turn those into static const members, which you can init in the header file:
class CFoo
{
public:
  static const HKEY classesRoot = HKEY_CLASSES_ROOT;
};
That also has the advantage of preserving the type-safety of classesRoot.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

AnswerRe: Converting to VC8 Pin
jmtrnr6-Oct-06 2:01
jmtrnr6-Oct-06 2:01 
Questiondisplay a help file (*.chm) in a VC++ 6.0 MFC Application Pin
Dhananjayak024-Oct-06 5:38
Dhananjayak024-Oct-06 5:38 
AnswerRe: display a help file (*.chm) in a VC++ 6.0 MFC Application Pin
Hamid_RT4-Oct-06 6:29
Hamid_RT4-Oct-06 6:29 
AnswerRe: display a help file (*.chm) in a VC++ 6.0 MFC Application Pin
ThatsAlok4-Oct-06 8:02
ThatsAlok4-Oct-06 8:02 
QuestionRelease build debugging question Pin
PeterCT4-Oct-06 5:08
PeterCT4-Oct-06 5:08 
AnswerRe: Release build debugging question Pin
Chris Losinger4-Oct-06 5:11
professionalChris Losinger4-Oct-06 5:11 
AnswerRe: Release build debugging question Pin
krmed4-Oct-06 5:22
krmed4-Oct-06 5:22 
AnswerRe: Release build debugging question Pin
David Crow4-Oct-06 5:32
David Crow4-Oct-06 5:32 
GeneralRe: Release build debugging question Pin
PeterCT4-Oct-06 6:57
PeterCT4-Oct-06 6:57 
Questionfunction names Pin
Waldermort4-Oct-06 5:05
Waldermort4-Oct-06 5:05 
QuestionRe: function names Pin
David Crow4-Oct-06 5:29
David Crow4-Oct-06 5:29 
AnswerRe: function names Pin
Waldermort4-Oct-06 5:48
Waldermort4-Oct-06 5:48 
AnswerRe: function names Pin
Michael Dunn4-Oct-06 7:33
sitebuilderMichael Dunn4-Oct-06 7:33 
QuestionImpossible mission ?! Pin
Liron Hirsch4-Oct-06 3:51
Liron Hirsch4-Oct-06 3:51 
QuestionRe: Impossible mission ?! Pin
David Crow4-Oct-06 4:44
David Crow4-Oct-06 4:44 
AnswerRe: Impossible mission ?! Pin
Liron Hirsch4-Oct-06 5:56
Liron Hirsch4-Oct-06 5:56 
AnswerRe: Impossible mission ?! Pin
Hamid_RT4-Oct-06 6:39
Hamid_RT4-Oct-06 6:39 

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.