Solved

CS_VRERAW and CS_HREDRAW

Posted on 1998-02-25
2
327 Views
Last Modified: 2013-12-04
Always have problem on resize the common controls with full drag. Too many refreshes cause screen flashing during sizing. Seems like it has something to do with the Class style.
Any idea on how to make resizing smoother.
0
Comment
Question by:tser
2 Comments
 
LVL 7

Accepted Solution

by:
galkin earned 50 total points
Comment Utility
Yes this is caused by that fact many controls have CS_VREDRAW and CS_HREDRAW style. I also had the same problem with Extended combo box. I placed it on rebar control and when I resize it it flashes. It is not simple to change it but you can still try. You should get WNDCLASSEX structure of specific control class with GetClassInfoEx. Do not forget to fill cbsize of this structure prior to using it. Then change style and class name. Register you class. Then when creating control use you class which has the same attributes but another style.
0
 
LVL 1

Author Comment

by:tser
Comment Utility
I guess we are out of luck when dealing with common controls in the dialog box resouce. Unless we create them on the fly.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now