Solved

CS_VRERAW and CS_HREDRAW

Posted on 1998-02-25
2
357 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 50 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 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