Click here to Skip to main content
16,004,806 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A better understanding of Thread Local Storage Pin
ForNow13-May-08 12:30
ForNow13-May-08 12:30 
GeneralRe: A better understanding of Thread Local Storage Pin
Mark Salsbery14-May-08 6:18
Mark Salsbery14-May-08 6:18 
GeneralRe: A better understanding of Thread Local Storage Pin
ForNow14-May-08 14:00
ForNow14-May-08 14:00 
GeneralRe: A better understanding of Thread Local Storage Pin
ForNow13-May-08 14:56
ForNow13-May-08 14:56 
QuestionClosing AfxMessageBox Pin
Sunil P V13-May-08 4:59
Sunil P V13-May-08 4:59 
AnswerRe: Closing AfxMessageBox Pin
Iain Clarke, Warrior Programmer13-May-08 5:11
Iain Clarke, Warrior Programmer13-May-08 5:11 
AnswerRe: Closing AfxMessageBox Pin
Mark Salsbery13-May-08 5:12
Mark Salsbery13-May-08 5:12 
GeneralRe: Closing AfxMessageBox Pin
Sunil P V13-May-08 20:19
Sunil P V13-May-08 20:19 
Hi Mark,

Thanks for replying.

Mark Salsbery wrote:
Possible, maybe, but it doesn't make much sense. Why are trying to use
modal dialogs modelessly?

If i use CMyDlg in a modeless fashion(also providing a parent window handle), the user will still be able to control the parent window. I want the user to respond within a timeout value. If there is no response then close the CMyDlg window and any message boxes opened within CMyDlg.

Mark Salsbery wrote:
How did you find the window to change its title?

AfxMessageBox/MessageBox has a title. The ::FindWindow API gives the handle to the window by passing the title. In my case the title displayed in the MessageBox keeps changing with time(as a result of some SQL query).

Sunil

GeneralRe: Closing AfxMessageBox Pin
Mark Salsbery14-May-08 5:34
Mark Salsbery14-May-08 5:34 
QuestionTCHAR porting issues while porting from VC6 to VC8 Pin
Rajesh_Parameswaran13-May-08 3:52
Rajesh_Parameswaran13-May-08 3:52 
AnswerRe: TCHAR porting issues while porting from VC6 to VC8 Pin
Iain Clarke, Warrior Programmer13-May-08 4:00
Iain Clarke, Warrior Programmer13-May-08 4:00 
GeneralPlz sir slow down Pin
CPallini13-May-08 4:08
mveCPallini13-May-08 4:08 
GeneralRe: Plz sir slow down Pin
Iain Clarke, Warrior Programmer13-May-08 4:13
Iain Clarke, Warrior Programmer13-May-08 4:13 
GeneralRe: Plz sir slow down Pin
Cedric Moonen13-May-08 4:25
Cedric Moonen13-May-08 4:25 
GeneralRe: Plz sir slow down Pin
CPallini13-May-08 4:26
mveCPallini13-May-08 4:26 
GeneralRe: Plz sir slow down Pin
Cedric Moonen13-May-08 4:28
Cedric Moonen13-May-08 4:28 
GeneralRe: Plz sir slow down Pin
Rajesh_Parameswaran13-May-08 4:36
Rajesh_Parameswaran13-May-08 4:36 
QuestionRe: Plz sir slow down Pin
Rajkumar R13-May-08 4:45
Rajkumar R13-May-08 4:45 
AnswerRe: Plz sir slow down Pin
Rajesh_Parameswaran13-May-08 4:52
Rajesh_Parameswaran13-May-08 4:52 
GeneralRe: Plz sir slow down Pin
Rajkumar R13-May-08 5:33
Rajkumar R13-May-08 5:33 
GeneralRe: Plz sir slow down Pin
CPallini13-May-08 4:47
mveCPallini13-May-08 4:47 
GeneralRe: Plz sir slow down Pin
Rajkumar R13-May-08 18:59
Rajkumar R13-May-08 18:59 
GeneralRe: Plz sir slow down Pin
CPallini13-May-08 20:55
mveCPallini13-May-08 20:55 
AnswerRe: TCHAR porting issues while porting from VC6 to VC8 Pin
CPallini13-May-08 4:05
mveCPallini13-May-08 4:05 
AnswerRe: TCHAR porting issues while porting from VC6 to VC8 Pin
Iain Clarke, Warrior Programmer13-May-08 5:15
Iain Clarke, Warrior Programmer13-May-08 5:15 

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.