Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Single computer identification Pin
Max Santos16-Sep-02 6:52
Max Santos16-Sep-02 6:52 
GeneralRe: Single computer identification Pin
Renjith Ramachandran16-Sep-02 7:47
Renjith Ramachandran16-Sep-02 7:47 
GeneralRe: Single computer identification Pin
TyMatthews16-Sep-02 10:49
TyMatthews16-Sep-02 10:49 
GeneralURGENT required help on Multiple Dialog & SetTimer problem! Pin
16-Sep-02 4:52
suss16-Sep-02 4:52 
GeneralRe: URGENT required help on Multiple Dialog & SetTimer problem! Pin
Renjith Ramachandran16-Sep-02 8:18
Renjith Ramachandran16-Sep-02 8:18 
GeneralRe: URGENT required help on Multiple Dialog & SetTimer problem! Pin
ATC16-Sep-02 9:34
ATC16-Sep-02 9:34 
GeneralRe: URGENT required help on Multiple Dialog & SetTimer problem! Pin
Renjith Ramachandran19-Sep-02 2:26
Renjith Ramachandran19-Sep-02 2:26 
GeneralUpdate detail SetTimer problem Pin
Anonymous16-Sep-02 9:07
Anonymous16-Sep-02 9:07 
Hi,

I have more detail about the problem:

1) It still work, but when the Main Dialog going back "once" the Timer event still 5 seconds ... but happen "twice" (even)! Because of that, if it the list ON next time it still ON (not toggle)

2) If the GUI coming back the "second time" the Timer still 5 seconds but happen tripple (odd), now the listctrl is toggled!

*) That means the more switching Dialog, when the Main dialog coming back: the more event happen in the same 5 seconds interval!

I did try to kill the Timer, before trigger again, but failled! Here what I did in OnInit() of Main Dialog

CWnd::KillTimer(TimerNumb); // kill previous Timer
TimerNumb = CWnd::SetTimer (1,5000, NULL); // re-trigger

**) I did monitor the TimerNumb, and it equals 1 at any time!

***) If I set a flag & not re-trigger SetTimer(), it will not work any more (after switching to other dialog & coming back) ... I do not know why the Timer is gone, even I do not kill it any where???

if(!f_reset) TimerNumb = CWnd::SetTimer (1,5000, NULL);
f_reset = true;

With these situation, might be someone can help me how to do the task in the first place?

Many thanks,

GeneralGetting HTML source given a IHTMLDocument2* Pin
dabs16-Sep-02 4:53
dabs16-Sep-02 4:53 
GeneralRe: Getting HTML source given a IHTMLDocument2* Pin
dabs16-Sep-02 6:10
dabs16-Sep-02 6:10 
QuestionVB 6.0 How do I open a .txt file???? Pin
BHBAD200216-Sep-02 4:52
sussBHBAD200216-Sep-02 4:52 
AnswerRe: VB 6.0 How do I open a .txt file???? Pin
Pavel Klocek16-Sep-02 5:02
Pavel Klocek16-Sep-02 5:02 
AnswerRe: VB 6.0 How do I open a .txt file???? Pin
Jeremy Falcon16-Sep-02 8:33
professionalJeremy Falcon16-Sep-02 8:33 
GeneralADOX and adding two databases Pin
ns16-Sep-02 4:18
ns16-Sep-02 4:18 
GeneralRe: ADOX and adding two databases Pin
Michael P Butler16-Sep-02 5:23
Michael P Butler16-Sep-02 5:23 
GeneralRe: ADOX and adding two databases Pin
ns16-Sep-02 5:38
ns16-Sep-02 5:38 
GeneralRe: ADOX and adding two databases Pin
Bill Wilson16-Sep-02 9:15
Bill Wilson16-Sep-02 9:15 
GeneralRe: ADOX and adding two databases Pin
ns16-Sep-02 9:22
ns16-Sep-02 9:22 
GeneralRe: ADOX and adding two databases Pin
Bill Wilson16-Sep-02 10:57
Bill Wilson16-Sep-02 10:57 
GeneralDouble-click notification not received (or not sent) Pin
Le centriste16-Sep-02 4:05
Le centriste16-Sep-02 4:05 
GeneralRe: Double-click notification not received (or not sent) Pin
Mustafa Demirhan16-Sep-02 7:23
Mustafa Demirhan16-Sep-02 7:23 
GeneralMetafileDCs without Clip region Pin
Peter Stark16-Sep-02 3:54
sussPeter Stark16-Sep-02 3:54 
GeneralRe: MetafileDCs without Clip region Pin
Mike Nordell16-Sep-02 5:09
Mike Nordell16-Sep-02 5:09 
GeneralA problem using Vc++.net and ATL Server to create Web Service Pin
victorswan16-Sep-02 3:31
victorswan16-Sep-02 3:31 
GeneralAbout net send message Pin
Simon.W16-Sep-02 3:25
Simon.W16-Sep-02 3:25 

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.