Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: List Control Data Capacity Pin
CPallini21-Feb-10 20:43
mveCPallini21-Feb-10 20:43 
AnswerRe: List Control Data Capacity Pin
David Crow22-Feb-10 3:00
David Crow22-Feb-10 3:00 
QuestionHow to find if a Directory is Indexed? Pin
Bryan Anslow21-Feb-10 9:48
Bryan Anslow21-Feb-10 9:48 
AnswerRe: How to find if a Directory in Indexed? Pin
Spawn@Melmac21-Feb-10 10:25
Spawn@Melmac21-Feb-10 10:25 
GeneralRe: How to find if a Directory in Indexed? Pin
Bryan Anslow21-Feb-10 12:21
Bryan Anslow21-Feb-10 12:21 
QuestionRe: How to find if a Directory in Indexed? Pin
David Crow21-Feb-10 15:50
David Crow21-Feb-10 15:50 
AnswerRe: How to find if a Directory in Indexed? Pin
Spawn@Melmac23-Feb-10 1:24
Spawn@Melmac23-Feb-10 1:24 
QuestionProblem using MFC to create multiple CDialog threads Pin
Spawn@Melmac21-Feb-10 6:14
Spawn@Melmac21-Feb-10 6:14 
The problem I have is essentially very simple.

I need to have multiple CDialog thread in my application that do not lock the primary UI thread. Their purpose will be to display specific data in each one.

My problem is that although I have been able to achieve this for one of the dialogs by

public:
	CSimulator thSim;
...

	thSim.CreateThread();


but any attempt I make to repeat this approach does not give me the dialog although no errors are generated at compile or runtime.


I have also tried using the
OnInitDialog()
of my main dialog but this just results in the main dialog having the child dialog pasted over it. Not pretty.

Ultimately I am planning to use an SDI for the main interface with CDialog's for the children. This would allow the child dialogs to be arranged across multiple montiors independantly of the main UI.

Whilst MFC is quite an old thing to be using I have to be sure the application will run on ANY Windows platform without having to worry too much about dependancies (i.e. from XP to Windows 7). Also the target machines are tightly controlled so adding .Net to them is a no go before anyone suggests it.

So does anyone have any suggestions how best to create and manage multiple CDialog's?


Many thanks
Alan

AnswerRe: Problem using MFC to create multiple CDialog threads Pin
Chris Losinger21-Feb-10 8:27
professionalChris Losinger21-Feb-10 8:27 
AnswerRe: Problem using MFC to create multiple CDialog threads Pin
Avi Berger21-Feb-10 8:33
Avi Berger21-Feb-10 8:33 
GeneralRe: Problem using MFC to create multiple CDialog threads Pin
Spawn@Melmac21-Feb-10 10:00
Spawn@Melmac21-Feb-10 10:00 
GeneralRe: Problem using MFC to create multiple CDialog threads Pin
Spawn@Melmac23-Feb-10 1:59
Spawn@Melmac23-Feb-10 1:59 
QuestionBase64 and VC++ Pin
burslem200121-Feb-10 6:08
burslem200121-Feb-10 6:08 
AnswerRe: Base64 and VC++ Pin
Rajesh R Subramanian21-Feb-10 6:12
professionalRajesh R Subramanian21-Feb-10 6:12 
AnswerRe: Base64 and VC++ Pin
CPallini21-Feb-10 7:49
mveCPallini21-Feb-10 7:49 
AnswerRe: Base64 and VC++ Pin
Graham Breach21-Feb-10 9:57
Graham Breach21-Feb-10 9:57 
Questiondynamic variable argument list C/C++ Pin
yakabmarci21-Feb-10 4:06
yakabmarci21-Feb-10 4:06 
AnswerRe: dynamic variable argument list C/C++ Pin
Chris Losinger21-Feb-10 6:11
professionalChris Losinger21-Feb-10 6:11 
QuestionConnect to all LAN servers Pin
Manmohan2920-Feb-10 22:36
Manmohan2920-Feb-10 22:36 
AnswerRe: Connect to all LAN servers Pin
Garth J Lancaster20-Feb-10 23:28
professionalGarth J Lancaster20-Feb-10 23:28 
GeneralRe: Connect to all LAN servers Pin
Manmohan2921-Feb-10 0:46
Manmohan2921-Feb-10 0:46 
GeneralRe: Connect to all LAN servers Pin
Garth J Lancaster21-Feb-10 9:44
professionalGarth J Lancaster21-Feb-10 9:44 
AnswerRe: Connect to all LAN servers Pin
Emilio Garavaglia22-Feb-10 2:38
Emilio Garavaglia22-Feb-10 2:38 
GeneralRe: Connect to all LAN servers Pin
Manmohan2922-Feb-10 3:52
Manmohan2922-Feb-10 3:52 
QuestionVS 2003/2008 or GCC Need To Choose! Pin
Trevor Johansen20-Feb-10 13:02
Trevor Johansen20-Feb-10 13:02 

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.