Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Question about timers

  1. #11
    Banned
    Join Date
    May 2010
    Location
    fuck off?
    Posts
    1,145

    Default

    WM_TIMER wont work as you havent setup a timer to fire it with your window. or did i miss it??

  2. #12
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    You missed it.. It is called in wm_Create

    PHP Code:
    case WM_CREATE:
            {
                
    test(hWndTimer);
                
    SetTimermyTimerNULLUSER_TIMER_MINIMUMNULL );
            }
            break;

            case 
    WM_TIMER:
            {
                
    test(hWndTimer);
                
    GetClientRectmyTimer, &rc );
                
    InvalidateRectmyTimer, &rcTRUE );
            }
            break; 
    </span></span>

  3. #13
    Banned
    Join Date
    May 2010
    Location
    fuck off?
    Posts
    1,145

    Default

    that doesnt make a timer...where is the set timer?

  4. #14
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    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!!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •