cdialog Questions

4

Solved

What is the difference between CDialog and CDialogEx? I decided to use CDialog because I can't assign m_pMainWnd to Dlg if Dlg is derived from CDialogEx. BOOL CPreparationApp::InitInstance() { MyC...
Chlodwig asked 3/4, 2014 at 13:29

6

I have a module that creates a modeless dialog containing an ActiveX control. This module was part of an MFC EXE application and the creation of the dialog worked fine. Recently, I moved the module...
Balder asked 8/11, 2012 at 15:32

1

Solved

I'm passing my HWND to a sub-process so it can send me messages back on its progress. Occasionally I never receive any messages from the sub-process. While investigating, I've found that GetSafeHwn...
Orford asked 25/3, 2017 at 4:16

1

Solved

I have a CDialog with a CFMCMenuButton. when I open it, everything appears normally: The problem happens when I click somewhere else to close the menu. The menu seems unclosable, unless user sel...
Kreis asked 14/8, 2015 at 10:16

6

Can someone tell me how I could create a Non Modal Dialog in MFC's Visual c++ 6.0 and show it? I wrote this code: CDialog dialog; if (dialog.init(initialization values...)) dialog.DoModal(); B...
Ardennes asked 16/2, 2010 at 9:42

0

1.- H ello. After searching in a lot of sites and forums all this week I found the point of the problem I was having. The problem is that when I create a New MFC project in Visual C++, if I set the...
Photic asked 18/10, 2012 at 3:30

3

Solved

I need a dialog tool similar to cdialog (or whiptail), but one that will work on Windows. I have MinGW and compiling something from source is no problem, but both cdialog and whiptail, the only o...
Relevant asked 16/2, 2009 at 13:50

1

Solved

We are upgrading from VC8 to VC10 and have found a number of memory leaks that seem to be CDialog related. The simplest example of this is demonstrated with the following code using a CDialog that ...
Huihuie asked 18/8, 2011 at 12:42

1

Solved

Is there a way to retrieve window handle from a CDialog derived class (like CWnd::m_hWnd member) ? Thanks
Vereen asked 23/10, 2009 at 15:27

3

Solved

Inside my app, I want to send a message to a dialog from a different thread. I want to pass an std::exception derived class reference to the dialog. Something like this: try { //do stuff } catc...
Feller asked 24/8, 2009 at 23:14

3

Solved

I have a dialog (CDialog derived class) that can be used in two different ways (edition mode and programming mode). When the dialog is open to be used in programming mode it is a modeless dialog t...
Halinahalite asked 4/8, 2009 at 6:24
1

© 2022 - 2024 — McMap. All rights reserved.