Click here to Skip to main content
15,914,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Halp regarding setting /NOENTRY resource DLL Pin
Prakash Nadar9-Jan-06 18:00
Prakash Nadar9-Jan-06 18:00 
GeneralRe: Halp regarding setting /NOENTRY resource DLL Pin
ThatsAlok9-Jan-06 18:06
ThatsAlok9-Jan-06 18:06 
GeneralRe: Halp regarding setting /NOENTRY resource DLL Pin
Prakash Nadar9-Jan-06 18:08
Prakash Nadar9-Jan-06 18:08 
GeneralRe: Halp regarding setting /NOENTRY resource DLL Pin
ThatsAlok9-Jan-06 18:13
ThatsAlok9-Jan-06 18:13 
GeneralRe: Halp regarding setting /NOENTRY resource DLL Pin
Prakash Nadar9-Jan-06 18:47
Prakash Nadar9-Jan-06 18:47 
Questionhow to implement a time delay? Pin
ewighell6-Jan-06 17:12
ewighell6-Jan-06 17:12 
AnswerRe: how to implement a time delay? Pin
KellyR6-Jan-06 17:18
KellyR6-Jan-06 17:18 
GeneralRe: how to implement a time delay? Pin
ewighell6-Jan-06 18:35
ewighell6-Jan-06 18:35 
I thought it would work, but it dose not, neither does the for loop.
my code is like the following:


pCtrlCopyDef->Excute(); //this funciton call get the thing to be copied onto the clipboard.
pSketch->Edit();//this statement cause my program get into a sketch environment, 
                //which is the required environment to perform pasting.
pCtrlPasteDef->Excute();//this function call paste the thing on the clipboard onto        
                        //the destination sketch

//////////////////////////////
//sections I have problems in:
AfxMessageBox(_T("Exit?"));//every thing is OK with this line of code. I click the OK button 
                    //on the pop-up message box and I will see the expected result finally.
//Sleep(2000); // if i substitute this line for the preceding one, I can't see the     
                 //anything pasted on the destination sketch.
//for(int i = 1; i<100000; i++){} //can't see anything either. 
////////////////////////////

pSketch->ExitEdit();// this funtion call cause the program exit the sketch environment.



I have worked on it for quite a long time and got nothing fixed. could you please help me analyze it and find a way out?

Thank you very much!!!

-------------------
I am learning C++ and English

Thank you very much!!!

-------------------
I am learning C++ and English
GeneralRe: how to implement a time delay? Pin
KellyR6-Jan-06 19:02
KellyR6-Jan-06 19:02 
GeneralRe: how to implement a time delay? Pin
ewighell6-Jan-06 21:16
ewighell6-Jan-06 21:16 
GeneralRe: how to implement a time delay? Pin
KellyR7-Jan-06 13:31
KellyR7-Jan-06 13:31 
GeneralRe: how to implement a time delay? Pin
ThatsAlok9-Jan-06 1:11
ThatsAlok9-Jan-06 1:11 
GeneralRe: how to implement a time delay? Pin
ewighell9-Jan-06 16:44
ewighell9-Jan-06 16:44 
GeneralRe: how to implement a time delay? Pin
ThatsAlok9-Jan-06 23:12
ThatsAlok9-Jan-06 23:12 
GeneralRe: how to implement a time delay? Pin
ewighell9-Jan-06 16:50
ewighell9-Jan-06 16:50 
GeneralRe: how to implement a time delay? Pin
Stephen Hewitt9-Jan-06 11:59
Stephen Hewitt9-Jan-06 11:59 
GeneralRe: how to implement a time delay? Pin
ewighell9-Jan-06 16:40
ewighell9-Jan-06 16:40 
GeneralRe: how to implement a time delay? Pin
Stephen Hewitt9-Jan-06 16:45
Stephen Hewitt9-Jan-06 16:45 
GeneralRe: how to implement a time delay? Pin
ewighell9-Jan-06 16:53
ewighell9-Jan-06 16:53 
GeneralRe: how to implement a time delay? Pin
Stephen Hewitt9-Jan-06 17:08
Stephen Hewitt9-Jan-06 17:08 
GeneralRe: how to implement a time delay? Pin
Stephen Hewitt9-Jan-06 18:21
Stephen Hewitt9-Jan-06 18:21 
GeneralRe: how to implement a time delay? Pin
ewighell9-Jan-06 19:39
ewighell9-Jan-06 19:39 
GeneralRe: how to implement a time delay? Pin
Stephen Hewitt9-Jan-06 19:42
Stephen Hewitt9-Jan-06 19:42 
GeneralRe: how to implement a time delay? Pin
ewighell9-Jan-06 20:01
ewighell9-Jan-06 20:01 
GeneralRe: how to implement a time delay? Pin
Stephen Hewitt9-Jan-06 20:13
Stephen Hewitt9-Jan-06 20:13 

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.