Print Page | Close Window

CStatic::SetWindowText flickers!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=15620
Printed Date: 06 February 2025 at 5:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CStatic::SetWindowText flickers!
Posted By: znakeeye
Subject: CStatic::SetWindowText flickers!
Date 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/



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net