Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGood bootstrapping resources Pin
Brandon-X120009-Aug-12 2:10
Brandon-X120009-Aug-12 2:10 
AnswerRe: Good bootstrapping resources Pin
Randor 9-Aug-12 5:03
professional Randor 9-Aug-12 5:03 
GeneralMessagebox Pin
sarfaraznawaz8-Aug-12 21:24
sarfaraznawaz8-Aug-12 21:24 
QuestionRe: Messagebox Pin
Eugen Podsypalnikov8-Aug-12 21:40
Eugen Podsypalnikov8-Aug-12 21:40 
GeneralRe: Messagebox Pin
pasztorpisti8-Aug-12 23:23
pasztorpisti8-Aug-12 23:23 
GeneralRe: Messagebox Pin
sarfaraznawaz10-Aug-12 1:27
sarfaraznawaz10-Aug-12 1:27 
GeneralRe: Messagebox Pin
pasztorpisti10-Aug-12 2:27
pasztorpisti10-Aug-12 2:27 
GeneralRe: Messagebox Pin
sarfaraznawaz12-Aug-12 19:39
sarfaraznawaz12-Aug-12 19:39 
same thing i did but the problem is with my massagebox
m_Thd->SuspendThread();

if(::MessageBox(h_parentWnd,_T("Do you want to stop scanning process?"), _T("Confirm"), MB_ICONQUESTION|MB_YESNO) == IDYES)
{
//MessageBox()
closefile = FALSE;
m_Thd->ResumeThread();
InterlockedExchange (&bexecution, 0);
Movfileisvalid = FALSE;
successoffile = FALSE;
//bexecution = FALSE;

}
//else
m_Thd->ResumeThread();
i place the massage box in if(condition) this massage box getting inactive state.once i click the cancel the thread will suspended state if its true then i have flag and resume thread to release the memory and to finish the thread .every thing is working fine but the problem is with the message box not getting close with one click i dont know what do please help me out
GeneralRe: Messagebox Pin
pasztorpisti12-Aug-12 19:50
pasztorpisti12-Aug-12 19:50 
GeneralRe: Messagebox Pin
pasztorpisti9-Aug-12 20:55
pasztorpisti9-Aug-12 20:55 
QuestionHow to check if a character is from keyboard in MFC Pin
Andraw1118-Aug-12 10:50
Andraw1118-Aug-12 10:50 
QuestionRe: How to check if a character is from keyboard in MFC Pin
Eugen Podsypalnikov8-Aug-12 11:03
Eugen Podsypalnikov8-Aug-12 11:03 
AnswerRe: How to check if a character is from keyboard in MFC Pin
Software_Developer8-Aug-12 20:05
Software_Developer8-Aug-12 20:05 
GeneralRe: How to check if a character is from keyboard in MFC Pin
Peter_in_27808-Aug-12 20:25
professionalPeter_in_27808-Aug-12 20:25 
GeneralRe: How to check if a character is from keyboard in MFC Pin
Software_Developer8-Aug-12 21:43
Software_Developer8-Aug-12 21:43 
JokeRe: How to check if a character is from keyboard in MFC Pin
Eugen Podsypalnikov8-Aug-12 22:17
Eugen Podsypalnikov8-Aug-12 22:17 
QuestionCB_SELECTSTRING related question Pin
tagopi8-Aug-12 0:24
tagopi8-Aug-12 0:24 
AnswerRe: CB_SELECTSTRING related question Pin
Eugen Podsypalnikov8-Aug-12 0:33
Eugen Podsypalnikov8-Aug-12 0:33 
GeneralRe: CB_SELECTSTRING related question Pin
tagopi8-Aug-12 0:36
tagopi8-Aug-12 0:36 
GeneralRe: CB_SELECTSTRING related question Pin
Eugen Podsypalnikov8-Aug-12 0:42
Eugen Podsypalnikov8-Aug-12 0:42 
GeneralRe: CB_SELECTSTRING related question (solved) Pin
tagopi8-Aug-12 0:53
tagopi8-Aug-12 0:53 
QuestionHow to Dercypt file in C# encrypted in C using Rjindael Algorithm Pin
sangamdumne7-Aug-12 23:52
sangamdumne7-Aug-12 23:52 
GeneralRe: How to Dercypt file in C# encrypted in C using Rjindael Algorithm Pin
Software_Developer8-Aug-12 0:38
Software_Developer8-Aug-12 0:38 
GeneralC++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1637-Aug-12 21:49
BCN-1637-Aug-12 21:49 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
_AnsHUMAN_ 8-Aug-12 0:36
_AnsHUMAN_ 8-Aug-12 0:36 

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.