Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timer Implementation in VC++

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I would like to know how Timer can be implemented in CScrollView .
 
Hi

Call Beep( 100, 100); in OnInitialUpdate override
Add the OnTimer handler with class wizard

add this line in the OnTimer Handler:

Beep( 100, 100);

You should hear beep, beep, beep, ....

HTH

Thierry
 
Hi

Sorry, ... too fast

Add

SetTimer( 100, 1000, NULL);

in the override of OnInitialmUpdate ...

Thierry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top