Click here to Skip to main content
15,907,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: member variable initialization Pin
toxcct18-Dec-07 3:13
toxcct18-Dec-07 3:13 
GeneralRe: member variable initialization Pin
George L. Jackson18-Dec-07 4:05
George L. Jackson18-Dec-07 4:05 
GeneralRe: member variable initialization Pin
toxcct18-Dec-07 4:10
toxcct18-Dec-07 4:10 
GeneralRe: member variable initialization Pin
George L. Jackson18-Dec-07 4:34
George L. Jackson18-Dec-07 4:34 
GeneralRe: member variable initialization Pin
Nelek18-Dec-07 23:37
protectorNelek18-Dec-07 23:37 
GeneralRe: member variable initialization Pin
eraccn18-Dec-07 4:43
eraccn18-Dec-07 4:43 
QuestionHow to make the font bold in the header of a ListControl Pin
Vikas_12318-Dec-07 2:04
Vikas_12318-Dec-07 2:04 
Generalnamespace problem Pin
prithaa18-Dec-07 1:59
prithaa18-Dec-07 1:59 
Hello,

I have declared a namespace for 3 of my classes and changed the declarations accordingly using : : but I don’t know how to change the declarations of message maps.

In the following I get error saying
Dialog::OnCreate' : member from enclosing class is not a type name, static, or enumerator
error C2065: 'OnCreate' : undeclared identifier
error C2440: 'type cast' : cannot convert from 'int *' to 'int (__thiscall CWnd::*)(struct tagCREATESTRUCTA *)'

BEGIN_MESSAGE_MAP(f::Dialog, CDialog)
//{{AFX_MSG_MAP(CDynDialogEx)
ON_WM_CREATE()
//}}AFX_MSG_MAP
ON_MESSAGE(WM_HELP, OnHelpMsg)
ON_WM_MEASUREITEM()
ON_WM_DRAWITEM()

In the above OnCreate() is the message handler function

Prithaa
QuestionRe: namespace problem Pin
CPallini18-Dec-07 3:40
mveCPallini18-Dec-07 3:40 
GeneralRe: namespace problem Pin
jhwurmbach18-Dec-07 4:33
jhwurmbach18-Dec-07 4:33 
GeneralRe: namespace problem Pin
Member 75496018-Dec-07 8:11
Member 75496018-Dec-07 8:11 
QuestionHow to create a Unique numeric ID Pin
SWDevil18-Dec-07 1:52
SWDevil18-Dec-07 1:52 
AnswerRe: How to create a Unique numeric ID Pin
CPallini18-Dec-07 2:14
mveCPallini18-Dec-07 2:14 
GeneralRe: How to create a Unique numeric ID Pin
SWDevil18-Dec-07 2:17
SWDevil18-Dec-07 2:17 
GeneralRe: How to create a Unique numeric ID Pin
SWDevil18-Dec-07 2:23
SWDevil18-Dec-07 2:23 
GeneralRe: How to create a Unique numeric ID Pin
CPallini18-Dec-07 2:33
mveCPallini18-Dec-07 2:33 
GeneralRe: How to create a Unique numeric ID Pin
SWDevil18-Dec-07 2:42
SWDevil18-Dec-07 2:42 
AnswerRe: How to create a Unique numeric ID Pin
CPallini18-Dec-07 2:45
mveCPallini18-Dec-07 2:45 
AnswerRe: How to create a Unique numeric ID Pin
jhwurmbach18-Dec-07 4:42
jhwurmbach18-Dec-07 4:42 
GeneralRe: How to create a Unique numeric ID Pin
SWDevil18-Dec-07 6:05
SWDevil18-Dec-07 6:05 
GeneralRe: How to create a Unique numeric ID Pin
jhwurmbach18-Dec-07 6:22
jhwurmbach18-Dec-07 6:22 
General_CRT_SECURE_NO_WARNINGS Pin
Anthony Appleyard18-Dec-07 0:26
Anthony Appleyard18-Dec-07 0:26 
GeneralRe: _CRT_SECURE_NO_WARNINGS Pin
CPallini18-Dec-07 0:40
mveCPallini18-Dec-07 0:40 
GeneralRe: _CRT_SECURE_NO_WARNINGS Pin
Maxwell Chen18-Dec-07 1:20
Maxwell Chen18-Dec-07 1:20 
GeneralRe: _CRT_SECURE_NO_WARNINGS Pin
Mark Salsbery18-Dec-07 6:29
Mark Salsbery18-Dec-07 6:29 

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.