CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: gphbl

Search: Search took 0.02 seconds.

  1. Re: CreatePen() return null in timerproc() after running for about 100s

    Now, I found that after running for about 100s, the GetDC() returns 0 too;

    p.s. the last line is pThis->ReleaseDC(pDC) instead of pThis->ReleaseDC()
  2. CreatePen() return null in timerproc() after running for about 100s

    Thank you for your attention, I met this problem in my timerproc function.

    I need to change the color of the pen according to a changing value, so I need to createpen in this timerproc. After...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured