Click here to Skip to main content
15,916,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Convert C to C++ Pin
Michael Dunn19-Apr-07 13:48
sitebuilderMichael Dunn19-Apr-07 13:48 
QuestionCopying Resource from One Workspace to Another Pin
Reagan Conservative19-Apr-07 11:54
Reagan Conservative19-Apr-07 11:54 
AnswerRe: Copying Resource from One Workspace to Another Pin
toxcct19-Apr-07 13:08
toxcct19-Apr-07 13:08 
GeneralRe: Copying Resource from One Workspace to Another Pin
Reagan Conservative20-Apr-07 3:07
Reagan Conservative20-Apr-07 3:07 
GeneralRe: Copying Resource from One Workspace to Another Pin
Reagan Conservative20-Apr-07 8:11
Reagan Conservative20-Apr-07 8:11 
GeneralRe: Copying Resource from One Workspace to Another Pin
JudyL_MD20-Apr-07 10:15
JudyL_MD20-Apr-07 10:15 
GeneralRe: Copying Resource from One Workspace to Another Pin
Reagan Conservative20-Apr-07 10:27
Reagan Conservative20-Apr-07 10:27 
AnswerRe: Copying Resource from One Workspace to Another Pin
Wamuti19-Apr-07 21:36
Wamuti19-Apr-07 21:36 
Hi. I hope you were successful. I have a problem while trying to insert a resource for the dialog. Below is the code i am trying to use to create a dialog: After i insert the resource and create a new class for the dialog, it cant find the Script1.rc which has the dialog ID. If you can help me i'm really stuck:
Below is my code:

#include <afxwin.h>
#include "resource.h"
#include "newdialog.h" //my new dialog class


class MFC_Tutorial_Window :public CFrameWnd
{
public:
MFC_Tutorial_Window()
{
Create(NULL,"MFC Tutorial Part 5 CoderSource Dialog");
}
void OnClickDialogNew();
DECLARE_MESSAGE_MAP()
};

BEGIN_MESSAGE_MAP( MFC_Tutorial_Window, CFrameWnd)
ON_COMMAND(ID_MYDIALOG,OnClickDialogNew)
END_MESSAGE_MAP()

void MFC_Tutorial_Window::OnClickDialogNew()
{
NewDialog dlg;
dlg.DoModal();
}

class MyApp :public CWinApp
{
MFC_Tutorial_Window *wnd;
public:
BOOL InitInstance()
{
wnd = new MFC_Tutorial_Window();
m_pMainWnd = wnd;
m_pMainWnd->ShowWindow(1);
return 1;
}
};

MyApp theApp;

TreeS

QuestionGetting a new 64-bit time_t into a string Pin
earlgraham19-Apr-07 6:53
earlgraham19-Apr-07 6:53 
AnswerRe: Getting a new 64-bit time_t into a string Pin
Michael Dunn19-Apr-07 8:22
sitebuilderMichael Dunn19-Apr-07 8:22 
GeneralRe: Getting a new 64-bit time_t into a string Pin
earlgraham20-Apr-07 6:01
earlgraham20-Apr-07 6:01 
GeneralRe: Getting a new 64-bit time_t into a string Pin
Michael Dunn20-Apr-07 6:57
sitebuilderMichael Dunn20-Apr-07 6:57 
AnswerRe: Getting a new 64-bit time_t into a string Pin
cmk19-Apr-07 14:16
cmk19-Apr-07 14:16 
QuestionVC++6 : COMptr CreateInstance() [modified] Pin
Joan M19-Apr-07 6:30
professionalJoan M19-Apr-07 6:30 
AnswerRe: VC++6 : COMptr CreateInstance() Pin
Michael Dunn19-Apr-07 8:25
sitebuilderMichael Dunn19-Apr-07 8:25 
GeneralRe: VC++6 : COMptr CreateInstance() Pin
Joan M19-Apr-07 8:35
professionalJoan M19-Apr-07 8:35 
GeneralRe: VC++6 : COMptr CreateInstance() Pin
Michael Dunn19-Apr-07 8:56
sitebuilderMichael Dunn19-Apr-07 8:56 
GeneralRe: VC++6 : COMptr CreateInstance() Pin
Joan M19-Apr-07 9:13
professionalJoan M19-Apr-07 9:13 
GeneralRe: VC++6 : COMptr CreateInstance() Pin
Nibu babu thomas19-Apr-07 17:22
Nibu babu thomas19-Apr-07 17:22 
GeneralRe: VC++6 : COMptr CreateInstance() Pin
Alexandre GRANVAUD20-Apr-07 2:01
Alexandre GRANVAUD20-Apr-07 2:01 
GeneralRe: VC++6 : COMptr CreateInstance() Pin
Joan M20-Apr-07 3:48
professionalJoan M20-Apr-07 3:48 
QuestionHow to remove help file from make ? ( MFC VC6.0) Pin
Vaclav_19-Apr-07 5:28
Vaclav_19-Apr-07 5:28 
AnswerRe: How to remove help file from make ? ( MFC VC6.0) Pin
David Crow19-Apr-07 6:12
David Crow19-Apr-07 6:12 
AnswerRe: How to remove help file from make ? ( MFC VC6.0) Pin
Vaclav_19-Apr-07 7:09
Vaclav_19-Apr-07 7:09 
QuestionAvoid multiple applications calling the same DLL [modified] Pin
Samaya K.B.19-Apr-07 4:38
Samaya K.B.19-Apr-07 4:38 

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.