Click here to Skip to main content
15,914,331 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: System menu disabling Pin
mnupadhya29-Aug-07 23:16
mnupadhya29-Aug-07 23:16 
QuestionC++ class definitions Pin
baerten28-Aug-07 1:52
baerten28-Aug-07 1:52 
AnswerRe: C++ class definitions Pin
Maxwell Chen28-Aug-07 1:54
Maxwell Chen28-Aug-07 1:54 
GeneralRe: C++ class definitions Pin
baerten28-Aug-07 2:18
baerten28-Aug-07 2:18 
AnswerRe: C++ class definitions Pin
David Crow28-Aug-07 2:36
David Crow28-Aug-07 2:36 
GeneralRe: C++ class definitions Pin
baerten28-Aug-07 2:44
baerten28-Aug-07 2:44 
GeneralRe: C++ class definitions Pin
David Crow28-Aug-07 2:48
David Crow28-Aug-07 2:48 
AnswerRe: C++ class definitions Pin
Russell'28-Aug-07 3:06
Russell'28-Aug-07 3:06 
Some MACRO sometimes create strange problems!

This is the definition of DECLARE_MESSAGE_MAP():
<code>#define DECLARE_MESSAGE_MAP() \
private: \
	static const AFX_MSGMAP_ENTRY _messageEntries[]; \
protected: \
	static const AFX_MSGMAP messageMap; \
	virtual const AFX_MSGMAP* GetMessageMap() const; \</code>

So if:
...
public:
DECLARE_MESSAGE_MAP()
UINT m_IsThisAPublicMemberAsIWant;
...


then m_IsThisAPublicMemberAsIWant;is .... protected!!!!!
Cry | :(( Cry | :(( Cry | :(( Dead | X|

Hope helps Wink | ;)


Russell

GeneralRe: C++ class definitions Pin
baerten28-Aug-07 3:16
baerten28-Aug-07 3:16 
GeneralRe: C++ class definitions Pin
Russell'28-Aug-07 3:28
Russell'28-Aug-07 3:28 
GeneralRe: C++ class definitions Pin
Maxwell Chen28-Aug-07 4:36
Maxwell Chen28-Aug-07 4:36 
GeneralRe: C++ class definitions Pin
Russell'28-Aug-07 7:16
Russell'28-Aug-07 7:16 
AnswerRe: C++ class definitions Pin
Michael Dunn28-Aug-07 8:04
sitebuilderMichael Dunn28-Aug-07 8:04 
QuestionRedistributing a command-line program made with VC++ 2005? Pin
Maxwell Chen28-Aug-07 1:31
Maxwell Chen28-Aug-07 1:31 
AnswerRe: Redistributing a command-line program made with VC++ 2005? Pin
jhwurmbach28-Aug-07 1:48
jhwurmbach28-Aug-07 1:48 
GeneralRe: Redistributing a command-line program made with VC++ 2005? Pin
Maxwell Chen28-Aug-07 2:03
Maxwell Chen28-Aug-07 2:03 
GeneralRe: Redistributing a command-line program made with VC++ 2005? Pin
jhwurmbach28-Aug-07 2:05
jhwurmbach28-Aug-07 2:05 
QuestionWriting a C++ code to print a file Pin
barun_iit28-Aug-07 1:29
barun_iit28-Aug-07 1:29 
AnswerRe: Writing a C++ code to print a file Pin
Nishad S28-Aug-07 1:39
Nishad S28-Aug-07 1:39 
AnswerRe: Writing a C++ code to print a file Pin
chandu00428-Aug-07 1:42
chandu00428-Aug-07 1:42 
GeneralRe: Writing a C++ code to print a file Pin
barun_iit28-Aug-07 18:10
barun_iit28-Aug-07 18:10 
QuestionIdentifying a corrupt exe Pin
vipin_nvk28-Aug-07 1:15
vipin_nvk28-Aug-07 1:15 
AnswerRe: Identifying a corrupt exe Pin
jhwurmbach28-Aug-07 1:38
jhwurmbach28-Aug-07 1:38 
AnswerRe: Identifying a corrupt exe Pin
kasturi_haribabu28-Aug-07 1:42
kasturi_haribabu28-Aug-07 1:42 
QuestionInside ntdll.dll Pin
Waldermort28-Aug-07 1:04
Waldermort28-Aug-07 1:04 

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.