Click here to Skip to main content
15,905,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to get the paper name Pin
CodeBrain24-Sep-03 21:52
CodeBrain24-Sep-03 21:52 
GeneralRe: how to get the paper name Pin
ashxly24-Sep-03 22:08
ashxly24-Sep-03 22:08 
AnswerRe: how to get the paper name Pin
Joel Lucsy25-Sep-03 4:12
Joel Lucsy25-Sep-03 4:12 
GeneralRe: how to get the paper name Pin
ashxly25-Sep-03 5:45
ashxly25-Sep-03 5:45 
GeneralSession maintain Pin
cberam24-Sep-03 20:39
cberam24-Sep-03 20:39 
GeneralVC++ on .Net Pin
vin24-Sep-03 20:36
vin24-Sep-03 20:36 
Generalmfc in a thread Pin
Krishnan V24-Sep-03 19:23
Krishnan V24-Sep-03 19:23 
GeneralRe: mfc in a thread Pin
YaronNir24-Sep-03 23:18
YaronNir24-Sep-03 23:18 
Hi,

there are 2 types of threads in win32/mfc... applications:
1) worker thread.
2) UI thread.

your case is the second one, UI thread. all UI threads in MFC application must inherite CWinThread class..... then when you call AfxBeginThread(..) method, you pass your dervied-CWinThread object as the parameter.

the CWinThread class, has the method : "InitInstance()" there you must create the proper MDI objects you want to display.....

read about UI thread in the MSDN or here...


hope this helps ya
regards,

Yaron

Ask not what your application can do for you,
Ask what you can do for your application
GeneralRe: mfc in a thread Pin
Krishnan V25-Sep-03 2:22
Krishnan V25-Sep-03 2:22 
QuestionHow to show the active desktop? Pin
meens24-Sep-03 18:46
meens24-Sep-03 18:46 
GeneralSAPI and 3rd Party Voice Engines Pin
Mangesh Sardesai24-Sep-03 18:01
Mangesh Sardesai24-Sep-03 18:01 
GeneralNew line character. Pin
esepich24-Sep-03 17:59
esepich24-Sep-03 17:59 
GeneralRe: New line character. Pin
Ravi Bhavnani24-Sep-03 17:59
professionalRavi Bhavnani24-Sep-03 17:59 
GeneralRe: New line character. Pin
esepich24-Sep-03 18:19
esepich24-Sep-03 18:19 
GeneralRe: New line character. Pin
Ravi Bhavnani24-Sep-03 18:30
professionalRavi Bhavnani24-Sep-03 18:30 
GeneralRe: New line character. Pin
Ravi Bhavnani24-Sep-03 18:31
professionalRavi Bhavnani24-Sep-03 18:31 
GeneralRe: New line character. Pin
esepich24-Sep-03 22:17
esepich24-Sep-03 22:17 
GeneralRe: New line character. Pin
Ravi Bhavnani24-Sep-03 22:20
professionalRavi Bhavnani24-Sep-03 22:20 
QuestionHo to Display the Grid of 32 circles? Pin
sameermanagoli24-Sep-03 17:43
sameermanagoli24-Sep-03 17:43 
AnswerRe: Ho to Display the Grid of 32 circles? Pin
Ravi Bhavnani24-Sep-03 18:03
professionalRavi Bhavnani24-Sep-03 18:03 
GeneralHandling string or images in a memory Pin
Anthony_Yio24-Sep-03 17:29
Anthony_Yio24-Sep-03 17:29 
GeneralRe: Handling string or images in a memory Pin
Paul Lyons24-Sep-03 18:38
Paul Lyons24-Sep-03 18:38 
GeneralGet MAC address of remote machine over Sockets Pin
JLathem24-Sep-03 16:19
JLathem24-Sep-03 16:19 
QuestionHow to make a toolbox control like .NET 2003 IDE resource toolbox? Pin
David Gao24-Sep-03 16:16
David Gao24-Sep-03 16:16 
AnswerRe: How to make a toolbox control like .NET 2003 IDE resource toolbox? Pin
Haldir25-Sep-03 8:21
Haldir25-Sep-03 8:21 

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.