Timer (without message map)
-
I've a class that's not a message map(non CWnd derived) and I want to add some kind of timer(delay) in my function. Thanks in Advance **Le Ridder Noir
Considderd to be the worlds fastest knoppenbonker.
one year of working experience with the worlds fastest copie paster(about 2000 lines a minute).
And experience with the one and only NewEra Guru and Crystal Ace.** -
I've a class that's not a message map(non CWnd derived) and I want to add some kind of timer(delay) in my function. Thanks in Advance **Le Ridder Noir
Considderd to be the worlds fastest knoppenbonker.
one year of working experience with the worlds fastest copie paster(about 2000 lines a minute).
And experience with the one and only NewEra Guru and Crystal Ace.**If you want to just have a delay you can use sleep(). To use Windows timers without messages (and thus messagemaps) you can simply pass the address of a callback to SetTimer(). But remember, this callback cannot be a non-static member function of a class (because of the this pointer). Cheers Steen. "To claim that computer games influence children is rediculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"