Click here to Skip to main content
15,879,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTransparency Of image Pin
002comp6-Dec-10 18:31
002comp6-Dec-10 18:31 
AnswerRe: Transparency Of image Pin
Niklas L6-Dec-10 21:13
Niklas L6-Dec-10 21:13 
GeneralRe: Transparency Of image Pin
002comp7-Dec-10 0:29
002comp7-Dec-10 0:29 
QuestionAfxBeginThread - which form? Pin
charlieg6-Dec-10 6:23
charlieg6-Dec-10 6:23 
AnswerRe: AfxBeginThread - which form? Pin
«_Superman_»6-Dec-10 6:59
professional«_Superman_»6-Dec-10 6:59 
AnswerRe: AfxBeginThread - which form? Pin
Chris Meech6-Dec-10 7:35
Chris Meech6-Dec-10 7:35 
AnswerRe: AfxBeginThread - which form? Pin
«_Superman_»6-Dec-10 7:59
professional«_Superman_»6-Dec-10 7:59 
AnswerRe: AfxBeginThread - which form? Pin
charlieg6-Dec-10 8:46
charlieg6-Dec-10 8:46 
Superman - my application is a little unique in that it is for an embedded HMI using WinCE. When my application needs to wait (a desktop PC would change the cursor to a wait cursor), my wait has to cover the entire control screen transparently with an animation in the center. So, in the UI thread, I have simply:


<br />
   CWaitDlg myDlg;//((CWnd*)pData->pParentWindow);<br />
   pData->pWaitDlg = &myDlg;<br />
<br />
   myDlg.m_sMessage = pData->sMessage;<br />
<br />
   myDlg.DoModal();<br />




The dialog is a standard mfc dialog with a BEGIN_MESSAGE_MAP() / END_MESSAGE_MAP() macro sequence. Is this what triggers everything to work correctly?

Appreciate the comments.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.

"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759


AnswerRe: AfxBeginThread - which form? Pin
David Crow6-Dec-10 9:18
David Crow6-Dec-10 9:18 
QuestionMessage Removed Pin
5-Dec-10 19:13
Jia1005-Dec-10 19:13 
AnswerRe: CString::Replace() problem Pin
Rajesh R Subramanian5-Dec-10 20:43
professionalRajesh R Subramanian5-Dec-10 20:43 
GeneralMessage Removed Pin
5-Dec-10 20:58
Jia1005-Dec-10 20:58 
GeneralRe: CString::Replace() problem Pin
Rajesh R Subramanian5-Dec-10 21:22
professionalRajesh R Subramanian5-Dec-10 21:22 
GeneralMessage Removed Pin
5-Dec-10 21:33
Jia1005-Dec-10 21:33 
GeneralRe: CString::Replace() problem Pin
Rajesh R Subramanian5-Dec-10 23:04
professionalRajesh R Subramanian5-Dec-10 23:04 
GeneralMessage Removed Pin
5-Dec-10 23:24
Jia1005-Dec-10 23:24 
GeneralRe: CString::Replace() problem Pin
Rajesh R Subramanian6-Dec-10 0:49
professionalRajesh R Subramanian6-Dec-10 0:49 
GeneralMessage Removed Pin
6-Dec-10 3:02
Jia1006-Dec-10 3:02 
GeneralRe: CString::Replace() problem Pin
Rajesh R Subramanian6-Dec-10 3:51
professionalRajesh R Subramanian6-Dec-10 3:51 
GeneralRe: CString::Replace() problem Pin
David Crow6-Dec-10 3:41
David Crow6-Dec-10 3:41 
GeneralRe: CString::Replace() problem Pin
Luc Pattyn5-Dec-10 23:29
sitebuilderLuc Pattyn5-Dec-10 23:29 
QuestionMFC Application Taskbar Icon Context Menu in Windows 7? Pin
-273C5-Dec-10 8:05
-273C5-Dec-10 8:05 
AnswerRe: MFC Application Taskbar Icon Context Menu in Windows 7? Pin
-273C5-Dec-10 11:46
-273C5-Dec-10 11:46 
QuestionFind an open source powerful math library Pin
followait5-Dec-10 0:24
followait5-Dec-10 0:24 
AnswerRe: Find an open source powerful math library Pin
ShilpiP5-Dec-10 7:11
ShilpiP5-Dec-10 7:11 

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.