Welcome to MSDN Blogs Sign in | Join | Help

August 2005 - Posts

Why do we need both SystemEvents.UserPreferenceChanging and SystemEvents.UserPreferenceChanged? The idea behind this is that if you have some object cached (say a brush based on a SystemColor), you would change the cache on UserPreferenceChanging. The Read More...
A question came up the other day about how to add a separator to a ComboBox, and unfortunately the answer is that you need to use OwnerDraw (hand drawing everything for the combo box instead of letting the operating system paint itself) to achieve this. Read More...
There were a lot of good comments/questions about keeping your UI responsive, if you're interested in threading/application contexts etc, it's worth a peek . I thought I'd rehash something today I've already talked about, but it is buried in my how to Read More...
Quite often, I kid around with my fellow developers when faced with a tough design tradeoff. Sometimes I break the tension by interjecting (in a slightly whiny twang) "Coding is hard!" It's turned into a bit of a running joke around here. In fact, I should Read More...
Sheesh ever since we've switched over to the new blogging stuff, I haven't really had the time to figure it all out. Some comment stuff changed, and well, I just realized this morning I have a bit of a backlog. I know, "excuses, excuses..." I also have Read More...
I've been following Chuck's blog, but I just feel it's not fair to keep it all to myself... [ one | two | three ] Read More...
Believe it or not *absolutely* nothing. One method calls the other. However because the latter is named "Changed" it can be used for data binding - so while I dont have any concrete proof, that's my theory on why both exist. However, if you are doing Read More...
What’s the difference between Application.Run and Application.DoEvents? Application.Run continually processes window messages for your application, raising events as necessary. Application.DoEvents processes all the window messages in the queue until Read More...
 
Page view tracker