Click here to Skip to main content
14,737,538 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: cannot add control variable to checkbox Pin
Richard MacCutchan14-Dec-12 4:36
mveRichard MacCutchan14-Dec-12 4:36 
GeneralRe: cannot add control variable to checkbox Pin
bkelly1314-Dec-12 6:18
Memberbkelly1314-Dec-12 6:18 
Questiondetect multiple instances of an application Pin
bkelly1310-Dec-12 13:28
Memberbkelly1310-Dec-12 13:28 
AnswerRe: detect multiple instances of an application Pin
Pete O'Hanlon10-Dec-12 13:31
mvePete O'Hanlon10-Dec-12 13:31 
GeneralRe: detect multiple instances of an application Pin
bkelly1310-Dec-12 14:38
Memberbkelly1310-Dec-12 14:38 
AnswerRe: detect multiple instances of an application Pin
H.Brydon31-Dec-12 21:09
professionalH.Brydon31-Dec-12 21:09 
QuestionOpen file in basic MFC app Pin
bkelly135-Dec-12 15:45
Memberbkelly135-Dec-12 15:45 
AnswerRe: Open file in basic MFC app Pin
Richard MacCutchan5-Dec-12 22:24
mveRichard MacCutchan5-Dec-12 22:24 
It's a while since I used MFC but I think the actual handle is held internally by the CDocument object. When you open the file the framework should call your OpenFile() method (I think that's its name) and you then load the data from the file using the CArchive object. The skeleton code should be there in your document class.
One of these days I'm going to think of a really clever signature.

GeneralRe: Open file in basic MFC app Pin
bkelly139-Dec-12 12:36
Memberbkelly139-Dec-12 12:36 
GeneralRe: Open file in basic MFC app Pin
Richard MacCutchan9-Dec-12 22:36
mveRichard MacCutchan9-Dec-12 22:36 
Generalthe answer is Pin
bkelly139-Dec-12 13:25
Memberbkelly139-Dec-12 13:25 
QuestionHow To Use Macro In dsp file(VC6.0 *.dsp file) Pin
yingkou27-Nov-12 15:37
Memberyingkou27-Nov-12 15:37 
AnswerRe: How To Use Macro In dsp file(VC6.0 *.dsp file) Pin
Richard MacCutchan28-Nov-12 0:34
mveRichard MacCutchan28-Nov-12 0:34 
QuestionAccessibleObjectFromWindow returns E_ACCESSDENIED Pin
BCN-16326-Nov-12 0:04
MemberBCN-16326-Nov-12 0:04 
QuestionHow to use NTGraph3D Activex Control in Visual Studio 2010. Pin
DhrumilS23-Nov-12 1:44
MemberDhrumilS23-Nov-12 1:44 
Newshacker240union Pin
hacker240union23-Nov-12 0:40
Memberhacker240union23-Nov-12 0:40 
Questioncopying AAComBSTR to BYTE Pin
V K 220-Nov-12 21:56
MemberV K 220-Nov-12 21:56 
AnswerRe: copying AAComBSTR to BYTE Pin
Richard MacCutchan20-Nov-12 22:28
mveRichard MacCutchan20-Nov-12 22:28 
AnswerRe: copying AAComBSTR to BYTE Pin
hacker240union23-Nov-12 0:27
Memberhacker240union23-Nov-12 0:27 
QuestionC++ Delegate/Events Pin
EDanaII14-Nov-12 18:15
MemberEDanaII14-Nov-12 18:15 
AnswerRe: C++ Delegate/Events Pin
Richard MacCutchan14-Nov-12 21:57
mveRichard MacCutchan14-Nov-12 21:57 
GeneralRe: C++ Delegate/Events Pin
EDanaII15-Nov-12 14:35
MemberEDanaII15-Nov-12 14:35 
GeneralRe: C++ Delegate/Events Pin
Richard MacCutchan16-Nov-12 0:45
mveRichard MacCutchan16-Nov-12 0:45 
AnswerRe: C++ Delegate/Events Pin
xenotron20-Nov-12 3:53
Memberxenotron20-Nov-12 3:53 
GeneralRe: C++ Delegate/Events Pin
EDanaII20-Nov-12 17:23
MemberEDanaII20-Nov-12 17:23 

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.