![]()  | 
 
CStatic::SetWindowText flickers! | 
 
    Post Reply  
   | 
  
| Author | |
   
   znakeeye  
   
   Senior Member  
   Joined: 26 July 2006 Status: Offline Points: 1672  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: CStatic::SetWindowText flickers!Posted: 13 November 2009 at 6:46pm  | 
 
| 
   
    Frequent calls of CStatic::SetWindowText causes flickering. How do I prevent this? Is there a CJ control for this?  | 
 |
| 
   
     
     PokerMemento - http://www.pokermemento.com/
     
   
   | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 November 2009 at 6:02am | 
 
| 
   
    
   Hi,
 
   
  Its too easy for codejock controls :)  
Just take Samples\ToolkitPro\MarkupSample\MarkupStatic.cpp but instead Markup to draw  - call original  
CStatic::DefWindowProc(WM_PAINT, (WPARAM)memDC.m_hDC, 0); 
   to draw on buffered DC.  | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |