Click here to Skip to main content
15,908,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Application blocked when pressing on control box Pin
Stephen Hewitt6-Feb-06 19:09
Stephen Hewitt6-Feb-06 19:09 
GeneralRe: Application blocked when pressing on control box Pin
Kemi10016-Feb-06 19:34
Kemi10016-Feb-06 19:34 
GeneralRe: Application blocked when pressing on control box Pin
khan++6-Feb-06 19:31
khan++6-Feb-06 19:31 
GeneralRe: Application blocked when pressing on control box Pin
Stephen Hewitt6-Feb-06 19:38
Stephen Hewitt6-Feb-06 19:38 
GeneralRe: Application blocked when pressing on control box Pin
khan++6-Feb-06 19:51
khan++6-Feb-06 19:51 
GeneralRe: Application blocked when pressing on control box Pin
Stephen Hewitt6-Feb-06 20:00
Stephen Hewitt6-Feb-06 20:00 
GeneralRe: Application blocked when pressing on control box Pin
Kemi10016-Feb-06 19:53
Kemi10016-Feb-06 19:53 
GeneralRe: Application blocked when pressing on control box Pin
khan++6-Feb-06 20:12
khan++6-Feb-06 20:12 
I think you should check it again. I tried using the MM timer with a callback function and it worked well:
void CALLBACK MyTymer(UINT uTimerID, UINT uMsg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2)
Now that is the callback. You could start the timer using:
timeSetEvent(1000,1,MyTymer,(DWORD)this,TIME_PERIODIC | TIME_CALLBACK_FUNCTION);
Notice the this as the user-argument. It will come to the Callback in the dwUser parameter. You can use it to call any parent's function from the Callback.
It does seem to be working. Smile | :)


this is this.
GeneralRe: Application blocked when pressing on control box Pin
khan++6-Feb-06 20:27
khan++6-Feb-06 20:27 
GeneralRe: Application blocked when pressing on control box Pin
Kemi10016-Feb-06 20:53
Kemi10016-Feb-06 20:53 
GeneralRe: Application blocked when pressing on control box Pin
khan++6-Feb-06 21:05
khan++6-Feb-06 21:05 
GeneralRe: Application blocked when pressing on control box Pin
Kemi10017-Feb-06 21:42
Kemi10017-Feb-06 21:42 
AnswerRe: Application blocked when pressing on control box Pin
Cool Ju6-Feb-06 19:52
Cool Ju6-Feb-06 19:52 
GeneralRe: Application blocked when pressing on control box Pin
Kemi10016-Feb-06 20:07
Kemi10016-Feb-06 20:07 
GeneralRe: Application blocked when pressing on control box Pin
Kemi10016-Feb-06 20:10
Kemi10016-Feb-06 20:10 
QuestionLNK4017 warning in vc.net 2003 Pin
arunperi6-Feb-06 16:56
arunperi6-Feb-06 16:56 
AnswerRe: LNK4017 warning in vc.net 2003 Pin
Owner drawn6-Feb-06 16:59
Owner drawn6-Feb-06 16:59 
Questionchecking network connection status Pin
Tony Kurishunkal6-Feb-06 16:45
Tony Kurishunkal6-Feb-06 16:45 
QuestionI Call CreateProcess() ,it failed,the Errorcode is 299,why? Pin
szcococut6-Feb-06 16:38
szcococut6-Feb-06 16:38 
QuestionExport a class of a dll Pin
vtalau6-Feb-06 16:25
vtalau6-Feb-06 16:25 
AnswerRe: Export a class of a dll Pin
Owner drawn6-Feb-06 16:52
Owner drawn6-Feb-06 16:52 
QuestionHow to simulate clicking on a scrollbar? Pin
KellyR6-Feb-06 15:36
KellyR6-Feb-06 15:36 
AnswerRe: How to simulate clicking on a scrollbar? Pin
KellyR7-Feb-06 4:28
KellyR7-Feb-06 4:28 
GeneralRe: How to simulate clicking on a scrollbar? Pin
Owner drawn7-Feb-06 17:18
Owner drawn7-Feb-06 17:18 
Questionstatic data member...HELP Pin
SyliaGallegos6-Feb-06 15:09
SyliaGallegos6-Feb-06 15:09 

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.