|
-
April 22nd, 1999, 01:48 PM
#1
ToolBar & Timer problem?
I have derived a class from CToolbar that starts
a timer when the leftmouse button is pressed down,
The timer does not work properly, it is supposed to fire after 2 seconds, but it fires immediatley
(2000 mill).
when I run the app in debug mode when I moved the mouse pointer over the toolbar the OnTimer event fired, this must be the mfc source, so I put an if statement in the onTimer function.
if(IdEvent == m_TimerVal)
Even when the the value of m_TimerVal is 0 and the IdEvent is not, it still processes the if statement, when logic say's it shouldnt?
can anyone help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|