Click here to Skip to main content
15,867,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Button behaviour Pin
CPallini13-May-10 1:34
mveCPallini13-May-10 1:34 
AnswerRe: Button behaviour Pin
David Crow13-May-10 3:28
David Crow13-May-10 3:28 
AnswerRe: Button behaviour Pin
Fareed Rizkalla13-May-10 12:46
Fareed Rizkalla13-May-10 12:46 
Questiontr1::regex Pin
sashoalm12-May-10 23:30
sashoalm12-May-10 23:30 
AnswerRe: System::Text::RegularExpressions Pin
Software_Developer12-May-10 23:43
Software_Developer12-May-10 23:43 
GeneralRe: System::Text::RegularExpressions Pin
Stephen Hewitt13-May-10 1:00
Stephen Hewitt13-May-10 1:00 
AnswerRe: tr1::regex Pin
Stephen Hewitt13-May-10 1:07
Stephen Hewitt13-May-10 1:07 
QuestionAdding FormView (IDD_FORMVIEW ) to CFrameWnd Pin
TechAvtar12-May-10 23:18
TechAvtar12-May-10 23:18 
Hi,

I have an MFC application written manually (no wizard) as below. I am able to add a menu to it. But I also need a form view (where i can add buttons and other controls) . I created the required form in the resource editor (Resources->Dialog->IDD_FORMVIEW).
But how can I attach this IDD_FORMVIEW to my CDemoFrame?

Thanks
JC

class CDemoFrame : public CFrameWnd
{
CDemoFrame();
}
CDemoFrame::CDemoFrame()
{
...
Create(NULL, _T("My Demo Application"),
WS_OVERLAPPEDWINDOW,
CRect(Left,Top,Right,Bottom),
NULL,
MAKEINTRESOURCE(IDR_DEMO_MENU));//Adding menu for demo application
...
}


BOOL CMyDemoApp::InitInstance()
{
...
m_pMainWnd = new CDemoFrame;
...
m_pMainWnd->ShowWindow(SW_NORMAL);
...
}
QuestionHello,everyone,I want to ask an question Pin
hanyonglu12-May-10 22:47
hanyonglu12-May-10 22:47 
AnswerRe: Hello,everyone,I want to ask an question Pin
CPallini12-May-10 23:26
mveCPallini12-May-10 23:26 
GeneralRe: Hello,everyone,I want to ask an question Pin
Tim Craig13-May-10 7:33
Tim Craig13-May-10 7:33 
AnswerRe: Hello,everyone,I want to ask an question Pin
Michel Godfroid12-May-10 23:39
Michel Godfroid12-May-10 23:39 
GeneralRe: Hello,everyone,I want to ask an question Pin
Stephen Hewitt13-May-10 1:11
Stephen Hewitt13-May-10 1:11 
JokeRe: Hello,everyone,I want to ask an question Pin
Michel Godfroid13-May-10 1:15
Michel Godfroid13-May-10 1:15 
GeneralRe: Hello,everyone,I want to ask an question Pin
CPallini13-May-10 7:37
mveCPallini13-May-10 7:37 
AnswerRe: Hello,everyone,I want to ask an question Pin
loyal ginger13-May-10 3:38
loyal ginger13-May-10 3:38 
AnswerRe: Hello,everyone,I want to ask an question Pin
Fareed Rizkalla13-May-10 12:48
Fareed Rizkalla13-May-10 12:48 
Questionwhat is the diffrence between Regtlib.exe and Regtlibv12.exe Pin
pandit8412-May-10 21:18
pandit8412-May-10 21:18 
Questiondelete whole columns in list view /win32 Pin
arun_pk12-May-10 20:49
arun_pk12-May-10 20:49 
AnswerRe: delete whole columns in list view /win32 Pin
Graham Breach12-May-10 20:56
Graham Breach12-May-10 20:56 
GeneralRe: delete whole columns in list view /win32 Pin
arun_pk12-May-10 21:01
arun_pk12-May-10 21:01 
GeneralRe: delete whole columns in list view /win32 Pin
Nuri Ismail12-May-10 21:07
Nuri Ismail12-May-10 21:07 
QuestionOnInitDialog() not getting called? Pin
mikert_200812-May-10 18:41
mikert_200812-May-10 18:41 
AnswerRe: OnInitDialog() not getting called? Pin
_AnsHUMAN_ 12-May-10 19:31
_AnsHUMAN_ 12-May-10 19:31 
AnswerRe: OnInitDialog() not getting called? Pin
Nuri Ismail12-May-10 20:47
Nuri Ismail12-May-10 20:47 

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.