WM_TIMER wont work as you havent setup a timer to fire it with your window. or did i miss it??
WM_TIMER wont work as you havent setup a timer to fire it with your window. or did i miss it??
You missed it.. It is called in wm_Create
</span></span>PHP Code:
case WM_CREATE:
{
test(hWndTimer);
SetTimer( myTimer, NULL, USER_TIMER_MINIMUM, NULL );
}
break;
case WM_TIMER:
{
test(hWndTimer);
GetClientRect( myTimer, &rc );
InvalidateRect( myTimer, &rc, TRUE );
}
break;
that doesnt make a timer...where is the set timer?
Elg, I must be super confused. At any rate, I figured it out with what RR said about creating a thread. It's working perfectly now THANK YOU!!!!!!