Click here to Skip to main content
16,015,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CHtmlView Windows 7 issue Pin
xrg_soft@163.com24-Aug-11 19:08
xrg_soft@163.com24-Aug-11 19:08 
GeneralRe: CHtmlView Windows 7 issue [modified] Pin
Member 810956024-Aug-11 20:22
Member 810956024-Aug-11 20:22 
GeneralRe: CHtmlView Windows 7 issue Pin
Rage24-Aug-11 4:21
professionalRage24-Aug-11 4:21 
QuestionLet a single document open Pin
_Flaviu22-Aug-11 19:38
_Flaviu22-Aug-11 19:38 
AnswerRe: Let a single document open Pin
Eugen Podsypalnikov22-Aug-11 20:50
Eugen Podsypalnikov22-Aug-11 20:50 
GeneralRe: Let a single document open Pin
_Flaviu22-Aug-11 20:55
_Flaviu22-Aug-11 20:55 
GeneralRe: Let a single document open Pin
Eugen Podsypalnikov22-Aug-11 21:06
Eugen Podsypalnikov22-Aug-11 21:06 
GeneralRe: Let a single document open Pin
_Flaviu22-Aug-11 22:44
_Flaviu22-Aug-11 22:44 
Well, if I map OnFileOpen like this (trying to close all documents first) :
C++
// document header file
// Generated message map functions
protected:
	//{{AFX_MSG(CTermDoc)
	afx_msg void OnFileOpen();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

and
C++
// document cpp file
BEGIN_MESSAGE_MAP(CMyDoc, CDocument)
	//{{AFX_MSG_MAP(CMyDoc)
	ON_COMMAND(ID_FILE_OPEN, OnFileOpen)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

void CMyDoc::OnFileOpen() 
{
	// TODO: Add your command handler code here

        theApp.CloseAllDocuments(TRUE);
}

I can not open any files ...
GeneralRe: Let a single document open Pin
Eugen Podsypalnikov23-Aug-11 0:41
Eugen Podsypalnikov23-Aug-11 0:41 
GeneralRe: Let a single document open Pin
_Flaviu23-Aug-11 1:51
_Flaviu23-Aug-11 1:51 
GeneralRe: Let a single document open Pin
Eugen Podsypalnikov23-Aug-11 5:39
Eugen Podsypalnikov23-Aug-11 5:39 
GeneralRe: Let a single document open Pin
_Flaviu22-Aug-11 22:46
_Flaviu22-Aug-11 22:46 
AnswerRe: Let a single document open Pin
Richard MacCutchan22-Aug-11 22:45
mveRichard MacCutchan22-Aug-11 22:45 
GeneralRe: Let a single document open Pin
_Flaviu22-Aug-11 22:49
_Flaviu22-Aug-11 22:49 
QuestionPointer to member function in struct Pin
Dean Seo22-Aug-11 18:29
Dean Seo22-Aug-11 18:29 
AnswerRe: Pointer to member function in struct Pin
Eugen Podsypalnikov22-Aug-11 20:59
Eugen Podsypalnikov22-Aug-11 20:59 
GeneralRe: Pointer to member function in struct Pin
Dean Seo22-Aug-11 21:16
Dean Seo22-Aug-11 21:16 
GeneralRe: Pointer to member function in struct Pin
Richard MacCutchan22-Aug-11 22:43
mveRichard MacCutchan22-Aug-11 22:43 
GeneralRe: Pointer to member function in struct Pin
Chang Su Lee24-Aug-11 5:29
Chang Su Lee24-Aug-11 5:29 
GeneralRe: Pointer to member function in struct Pin
Richard MacCutchan24-Aug-11 6:09
mveRichard MacCutchan24-Aug-11 6:09 
GeneralRe: Pointer to member function in struct Pin
Dean Seo22-Aug-11 21:27
Dean Seo22-Aug-11 21:27 
QuestionIDE from programm in C++ Pin
Chargoy22-Aug-11 16:04
Chargoy22-Aug-11 16:04 
AnswerRe: IDE from programm in C++ Pin
Richard Andrew x6422-Aug-11 16:13
professionalRichard Andrew x6422-Aug-11 16:13 
AnswerRe: IDE from programm in C++ PinPopular
Albert Holguin22-Aug-11 16:40
professionalAlbert Holguin22-Aug-11 16:40 
GeneralRe: IDE from programm in C++ Pin
Chargoy27-Aug-11 5:43
Chargoy27-Aug-11 5:43 

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.