?
Solved

CS_VRERAW and CS_HREDRAW

Posted on 1998-02-25
2
Medium Priority
?
359 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
galkin earned 200 total points
ID: 1411565
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
ID: 1411566
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

752 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