Reputation: 31
i guess there is some reasonable and an easy solution. So for instance i have:
INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
time(2)
// anything else in the about class....
//return code
}
The problem is that the whole application almost freezes and i cannot do anything but "wait for the timer". How can i make the timer runs irrespectively to any other operation? 10x!
Upvotes: 0
Views: 92
Reputation: 308158
You want to do a SetTimer call and either give it a pointer to a callback function, or respond to the WM_TIMER message that comes back.
Upvotes: 5