Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: STL Containers store a copy? Pin
Richard MacCutchan9-Jul-12 23:07
mveRichard MacCutchan9-Jul-12 23:07 
GeneralRe: STL Containers store a copy? Pin
piul9-Jul-12 23:20
piul9-Jul-12 23:20 
AnswerRe: STL Containers store a copy? Pin
Aescleal10-Jul-12 7:11
Aescleal10-Jul-12 7:11 
GeneralRe: STL Containers store a copy? Pin
Stefan_Lang10-Jul-12 23:10
Stefan_Lang10-Jul-12 23:10 
GeneralRe: STL Containers store a copy? Pin
Richard MacCutchan11-Jul-12 3:05
mveRichard MacCutchan11-Jul-12 3:05 
QuestionProcess Pin
sarfaraznawaz9-Jul-12 21:25
sarfaraznawaz9-Jul-12 21:25 
AnswerRe: Process Pin
Code-o-mat9-Jul-12 23:21
Code-o-mat9-Jul-12 23:21 
GeneralRe: Process Pin
sarfaraznawaz11-Jul-12 2:27
sarfaraznawaz11-Jul-12 2:27 
C#
while(pOtherWnd!=0)
    {
        pOtherWnd = CWnd::FindWindow(NULL, szWindowTitle);
         //WaitForSingleObject(h_Rs_playerProcessId,INFINITE)
         CPreview::EnableWindow(FALSE);
        if(pOtherWnd == NULL)
        {
            CPreview::EnableWindow(TRUE);
       
            break;
        }
        sleepmode=5000;
        Sleep(sleepmode);
}<pre<pre> lang="c++"></

i got the pOtherWnd is handle
i set the timer sleepmode in sleep(sleepmode)
its working fine after some time the window will strat not responding ..

i have added the code with respect to the earlier code which i had posted .
i tried with waitsingleobject by getting the handle og main window even though its not working
help me out this
Best
Regards
sarfaraz
GeneralRe: Process Pin
Code-o-mat11-Jul-12 3:12
Code-o-mat11-Jul-12 3:12 
GeneralRe: Process Pin
sarfaraznawaz11-Jul-12 21:14
sarfaraznawaz11-Jul-12 21:14 
QuestionTooltips can't display in CMainFrame::CFrameWnd Pin
ussthamcn9-Jul-12 3:55
ussthamcn9-Jul-12 3:55 
AnswerRe: Tooltips can't display in CMainFrame::CFrameWnd Pin
ussthamcn10-Jul-12 3:04
ussthamcn10-Jul-12 3:04 
QuestionRe: Tooltips can't display in CMainFrame::CFrameWnd Pin
David Crow10-Jul-12 4:53
David Crow10-Jul-12 4:53 
QuestionHow to Undo/Redo drawing operation in a dialog based application.? Pin
mbatra319-Jul-12 1:55
mbatra319-Jul-12 1:55 
AnswerRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Chris Losinger9-Jul-12 2:20
professionalChris Losinger9-Jul-12 2:20 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
mbatra319-Jul-12 2:32
mbatra319-Jul-12 2:32 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Chris Losinger9-Jul-12 3:14
professionalChris Losinger9-Jul-12 3:14 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Maximilien9-Jul-12 3:18
Maximilien9-Jul-12 3:18 
AnswerRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
CPallini9-Jul-12 2:20
mveCPallini9-Jul-12 2:20 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
mbatra319-Jul-12 2:33
mbatra319-Jul-12 2:33 
AnswerRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Sunil P V10-Jul-12 0:01
Sunil P V10-Jul-12 0:01 
Generalneed help Opencv with MFC (Solved) Pin
jawadali4779-Jul-12 0:44
jawadali4779-Jul-12 0:44 
GeneralRe: need help Opencv with MFC Pin
CPallini9-Jul-12 0:57
mveCPallini9-Jul-12 0:57 
GeneralRe: need help Opencv with MFC Pin
jawadali4779-Jul-12 1:17
jawadali4779-Jul-12 1:17 
GeneralRe: need help Opencv with MFC Pin
Richard MacCutchan9-Jul-12 1:30
mveRichard MacCutchan9-Jul-12 1:30 

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.