Click here to Skip to main content
15,904,155 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStop large loop in run time? Pin
closecall12-Nov-03 18:56
closecall12-Nov-03 18:56 
AnswerRe: Stop large loop in run time? Pin
Dominik Reichl12-Nov-03 23:00
Dominik Reichl12-Nov-03 23:00 
AnswerRe: Stop large loop in run time? Pin
Alexander M.,13-Nov-03 8:13
Alexander M.,13-Nov-03 8:13 
GeneralUsing matlab symbolic equation in Visual Studio 6.0 Pin
Member 69647712-Nov-03 17:46
Member 69647712-Nov-03 17:46 
QuestionToolTip not show in my DLL ??? Pin
ccnuxjg12-Nov-03 17:12
ccnuxjg12-Nov-03 17:12 
GeneralSite Suggestion Pin
LOSTTWARE.com12-Nov-03 16:10
LOSTTWARE.com12-Nov-03 16:10 
GeneralRe: Site Suggestion Pin
Mike Dimmick13-Nov-03 3:41
Mike Dimmick13-Nov-03 3:41 
GeneralMFC VC++ 6.0 Pin
LOSTTWARE.com12-Nov-03 16:08
LOSTTWARE.com12-Nov-03 16:08 
I used MFC wizzard to create a mdi application. I have the common app.cpp view.cpp doc.cpp mainfraim.cpp and child.cpp along with a hundred add ons. I couldn't find a good File new template chooser so I am making one from scratch. I am at the point where the user presses OK, on the type he wants. I simply want to open from a read only file, like a template I create. Kinda like if I were to click File Open. I wasn't sure how to do this, so I looked at how the application was set up to open a file. All it has is:
BOOL CFDPDoc::OnOpenDocument(LPCTSTR lpszPathName) <br />
{	if (!CDocument::OnOpenDocument(lpszPathName))<br />
		return FALSE;<br />
	// TODO: <br />
	return TRUE;<br />
}

Well, that is the only real code that it has on File open, I just want to make a similar instance to open only that template I will make. How do I do that? thanks guys


LOSTTWARE.com
GeneralNEED HELP BAD Pin
LOSTTWARE.com12-Nov-03 20:33
LOSTTWARE.com12-Nov-03 20:33 
GeneralRe: NEED HELP BAD Pin
Antti Keskinen13-Nov-03 0:59
Antti Keskinen13-Nov-03 0:59 
GeneralRe: NEED HELP BAD Pin
Roger Allen13-Nov-03 1:07
Roger Allen13-Nov-03 1:07 
GeneralProblem with RTL Mirroring CFileDialog-derived dialogs in Windows 98 Pin
Eriol4112-Nov-03 15:53
Eriol4112-Nov-03 15:53 
GeneralHelp with MS Data Grid and Data Control Pin
Member 65260612-Nov-03 15:19
Member 65260612-Nov-03 15:19 
GeneralScreensaver child process croaks... Pin
ToddTTT12-Nov-03 14:42
ToddTTT12-Nov-03 14:42 
GeneralCreating a dialog from a COM dll Pin
Matt Gates12-Nov-03 14:31
Matt Gates12-Nov-03 14:31 
GeneralRe: Creating a dialog from a COM dll Pin
Prakash Nadar13-Nov-03 0:19
Prakash Nadar13-Nov-03 0:19 
QuestionHow can I convert the JPEG files to thumbnails? Pin
ElizabethC12-Nov-03 12:57
ElizabethC12-Nov-03 12:57 
AnswerRe: How can I convert the JPEG files to thumbnails? Pin
Andrew Walker12-Nov-03 18:40
Andrew Walker12-Nov-03 18:40 
GeneralRe: How can I convert the JPEG files to thumbnails? Pin
ElizabethC13-Nov-03 6:09
ElizabethC13-Nov-03 6:09 
GeneralRe: How can I convert the JPEG files to thumbnails? Pin
Prakash Nadar13-Nov-03 16:08
Prakash Nadar13-Nov-03 16:08 
GeneralRe: How can I convert the JPEG files to thumbnails? Pin
ElizabethC17-Nov-03 5:57
ElizabethC17-Nov-03 5:57 
GeneralSendInput / keyb_event in a keyboard hook Pin
OddArne12-Nov-03 12:38
OddArne12-Nov-03 12:38 
Generalbmp save file question gdi+ Pin
ptharso12-Nov-03 11:05
ptharso12-Nov-03 11:05 
GeneralReceive vs ReceiveFrom... Pin
NewHSKid12-Nov-03 9:53
NewHSKid12-Nov-03 9:53 
GeneralRe: Receive vs ReceiveFrom... Pin
Alexander M.,13-Nov-03 8:11
Alexander M.,13-Nov-03 8:11 

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.