Click here to Skip to main content
16,006,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RichEdit scrolling Pin
Kuniva1-Jul-02 12:27
Kuniva1-Jul-02 12:27 
GeneralShow jpeg in dialog projects Pin
noudard1-Jul-02 10:13
noudard1-Jul-02 10:13 
GeneralRe: Show jpeg in dialog projects Pin
Steven Szelei1-Jul-02 10:40
Steven Szelei1-Jul-02 10:40 
GeneralRe: Show jpeg in dialog projects Pin
Steven Szelei1-Jul-02 10:55
Steven Szelei1-Jul-02 10:55 
GeneralRe: Show jpeg in dialog projects Pin
code_cold31-Jul-02 17:19
code_cold31-Jul-02 17:19 
GeneralRe: Show jpeg in dialog projects Pin
code_cold31-Jul-02 22:29
code_cold31-Jul-02 22:29 
General"cannot add new member" Pin
jimNLX1-Jul-02 10:09
jimNLX1-Jul-02 10:09 
GeneralRe: "cannot add new member" Pin
dazinith1-Jul-02 10:16
dazinith1-Jul-02 10:16 
are you trying to add a message handler, or a variable? (this is in the resource editor right?)

my guess is its caused by VS6 not being able to interpret your .cpp file..
Modified when adding variables:
void COptions1::DoDataExchange(CDataExchange* pDX)
{
CSAPrefsSubDlg::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(COptions1)
	DDX_Text(pDX, IDC_DATAPATH, m_strDataPath);
	//}}AFX_DATA_MAP
}
Modified when adding message handlers:
BEGIN_MESSAGE_MAP(COptions1, CSAPrefsSubDlg)
	//{{AFX_MSG_MAP(COptions1)
	ON_BN_CLICKED(IDC_BROWSEBTN, OnBrowsebtn)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

if you took out or modified the AFX_MSG_MAP or AFX_DATA_MAP parts then VS6 wont be able to figure out where to put the code.. you can add it manually if you look at examples of how the class wizard has been doing it for you..

hope that is what you were looking for!

-dz
QuestionCan this be done? Beginner MDI question Pin
ns1-Jul-02 9:35
ns1-Jul-02 9:35 
AnswerRe: Can this be done? Beginner MDI question Pin
David Viggiano1-Jul-02 9:52
David Viggiano1-Jul-02 9:52 
GeneralRe: Can this be done? Beginner MDI question Pin
ns1-Jul-02 10:04
ns1-Jul-02 10:04 
Generalweb monitoring system using vc++6 Pin
waseem qureshi1-Jul-02 9:20
waseem qureshi1-Jul-02 9:20 
GeneralRe: web monitoring system using vc++6 Pin
1-Jul-02 10:21
suss1-Jul-02 10:21 
GeneralClass disappears from class view Pin
jimNLX1-Jul-02 9:15
jimNLX1-Jul-02 9:15 
GeneralRe: Class disappears from class view Pin
1-Jul-02 9:40
suss1-Jul-02 9:40 
GeneralRe: Class disappears from class view Pin
jimNLX1-Jul-02 9:45
jimNLX1-Jul-02 9:45 
Generaltwo documents in an MDI project Pin
ns1-Jul-02 8:54
ns1-Jul-02 8:54 
GeneralRe: two documents in an MDI project Pin
ns1-Jul-02 8:57
ns1-Jul-02 8:57 
Generalchecking links in website whether working well or not Pin
1-Jul-02 8:47
suss1-Jul-02 8:47 
GeneralRe: checking links in website whether working well or not Pin
Ravi Bhavnani1-Jul-02 9:27
professionalRavi Bhavnani1-Jul-02 9:27 
GeneralOpening and Displaying TIFF images Pin
SuperGeek1-Jul-02 8:22
SuperGeek1-Jul-02 8:22 
GeneralRe: Opening and Displaying TIFF images Pin
mloibl1-Jul-02 8:37
mloibl1-Jul-02 8:37 
GeneralRe: Opening and Displaying TIFF images Pin
Chris Losinger1-Jul-02 9:13
professionalChris Losinger1-Jul-02 9:13 
GeneralRe: Opening and Displaying TIFF images Pin
Marc Richarme1-Jul-02 11:07
Marc Richarme1-Jul-02 11:07 
Questionstr to double? Pin
briefcase1-Jul-02 7:36
briefcase1-Jul-02 7:36 

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.