Browse by Tags
All Tags »
Windows Forms (RSS)
Check out the Microsoft InteropForms Toolkit 1.0 This toolkit helps you bring the power of .NET to your existing VB6 applications, by allowing them to display .NET WinForms from within the same application. Instead of upgrading the entire code base, these
Read More...
It looks like he's put together a very convincing VistaToolStripRenderer , and promises a tell-all series of articles. Stay tuned!
Read More...
Frans ran into some trouble disabling parent menu items. Turns out they dont disable the evaluation of child shortcuts. This was an oversight on our part. That said, most applications remove flyouts that are not in-use so as to not taunt users with menus
Read More...
For the most part, activation and focus work pretty darn well in windows, until you want to tweak something that doesn’t fit within the typical windowing model or roll your own menu. Most folks don’t separate out activation and focus, but they are really
Read More...
A friend of mine ran into this the other day. If you call a method to get a handle some sort of System.Drawing object, you may be creating an object that needs to be cleaned up through P/Invoke or some other function call. Bitmap.GetHIcon - requires p/invoking
Read More...
I enjoy talking to Tim Dawson quite a bit; we both know that making the decision to build your own menu is not one to be taken lightly. He's been busy lately .
Read More...
Most of the time, you can get away with checking it in the Form.SizeChanged or Form.Resize event. If you remember, there's no difference between the two events so it doesnt matter what you pick. However it was pointed out to me that if you specify a maximum
Read More...
Here's how to do it . (Requires Windows Vista and some willingness to fiddle with how your app paints itself).
Read More...
Ingas asks a great question: In windows form I have a ToolStripContainer inside a control (inherided from UserControl). I allso have a ToolStripContainer on the main form. I am trying to do ToolStripManager.LoadSettings() (with ToolStripManager.SaveSettings
Read More...
Welcome the folks behind the reams and reams of Windows Forms documentation to the world of blogging! In their own words: We're the Windows Forms User Education team at Microsoft. Here you can find updates on documentation related to Windows Forms, ClickOnce,
Read More...
Folks quite often ask how to get information about controls from outside the process. In addition to active accessibility (the recommended solution for testing windows forms applications) there's also a handy window message which Control supports called
Read More...
If you've read the ToolStrip FAQ, you may already be aware that you can replace the colors of the ToolStrip by passing in a new ProfessionalColorTable to the constructor of the ToolStripProfessionalRenderer. How can you tell what color does what? Create
Read More...
Brad wants to know your experiences...
Read More...
David was kind enough to point out some rough spots in the SplitButton sample , so I've gone ahead and updated it with his suggestions for fixes. Please let me know any other suggestions as this seems to be a popularly-reused sample.
Read More...
There are three great articles from the Windows Forms team to read in the March issue of MSDN Magazine: Winning Forms : Practical Tips For Boosting The Performance Of Windows Forms Apps Milena Salman Text Rendering : Build World-Ready Apps Using Complex
Read More...