lock when call AfxMessageBox in message handler or
  Home FAQ Contact Sign in
 
Advanced search
POPULAR GROUPS

more...

found 4 articles for 0.445 sec
lock when call AfxMessageBox in message handler or can't set focus to child control     

Group: comp.os.mswindows.programmer.tools.mfc · Group Profile · Search for lock when call AfxMessageBox in message handler or in comp.os.mswindows.programmer.tools.mfc
Author: yurec
Date: Apr 29, 2008 11:09

...create a dialog with stlye WS_CHILD and parent wnd NULL, and call AfxMessageBox on one of its child controls handlers i'll got a lock.If i remove style WS_CHILD or set not NULL parent, AfxMessageBox'll work ok. But dialog's child edit box will not... box will get focus without any problems(but got lock with message box). Could somebody give me a hint? Thanks
Show full article (0.54Kb)
Re: Multithreaded long process update window     

Group: microsoft.public.vc.mfc · Group Profile · Search for lock when call AfxMessageBox in message handler or in microsoft.public.vc.mfc
Author: AliR (VC++ MVP)
Date: Feb 21, 2008 13:13

...'s InitInstance, I called Sleep(5000); and then AfxMessageBox("Box1"); Then ... BEGIN_MESSAGE_MAP(CDialogThread, CWinThread) END_MESSAGE_MAP() // CDialogThread message handlers HANDLE CDialogThread::SetTimer(LONGLONG ... records it needs are exclusively locked by another user. In this ... member variables of m_pMyLongProcess and calling m_pMyLongProcess->ResumeThread(); to get the ...
Show full article (6.03Kb) · Show article thread
Re: parameter problem in fire event     

Group: microsoft.public.vc.atl · Group Profile · Search for lock when call AfxMessageBox in message handler or in microsoft.public.vc.atl
Author: Alexander Nickolov
Date: May 7, 2007 10:45

... with dual interface, i am calling the callback event in the...(CSink, DIID__IWebLinkHelperEvents, Dispatch) END_INTERFACE_MAP() ///////////////////////////////////////////////////////////////////////////// // CSink message handlers HRESULT CSink::DownloadComplete(BSTR...Status",NULL); CString result(res); AfxMessageBox(result); isDownloadComplete = TRUE; return S_OK...
Show full article (2.82Kb) · Show article thread
parameter problem in fire event     

Group: microsoft.public.vc.atl · Group Profile · Search for lock when call AfxMessageBox in message handler or in microsoft.public.vc.atl
Author: Rohit Kumar
Date: May 7, 2007 04:29

...(CSink, DIID__IWebLinkHelperEvents, Dispatch) END_INTERFACE_MAP() ///////////////////////////////////////////////////////////////////////////// // CSink message handlers HRESULT CSink::DownloadComplete(BSTR res)... Status",NULL); CString result(res); AfxMessageBox(result); isDownloadComplete = TRUE; return S_OK; } The callback event is getting called but the correct value of ...
Show full article (1.80Kb)