Welcome to MSDN Blogs Sign in | Join | Help

jfo's coding

adventures in windows forms and wpf

Browse by Tags

All Tags » Windows Forms   (RSS)
VB6/Winforms interop
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...
Josh seems to be having fun with Renderers
It looks like he's put together a very convincing VistaToolStripRenderer , and promises a tell-all series of articles. Stay tuned! Read More...
Workaround for disabled flyouts
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...
Win32 Activation and Focus
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...
Rule of thumb for System.Drawing
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...
Tim resurfaces with another control
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...
How do I detect when the WindowState changes?
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...
Tim shows how to get glass in your client area using Windows Forms
Here's how to do it . (Requires Windows Vista and some willingness to fiddle with how your app paints itself). Read More...
ToolStripManager.SaveSettings and UserControls
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...
Windows Forms documentation team is blogging
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...
WM_GETCONTROLNAME
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...
ProfessionalColorTable - what does what?
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...
Using Windows Forms on Windows Vista?
Brad wants to know your experiences... Read More...
Updates to the SplitButton sample
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...
Perf, Text Renderering and Designer hosting
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...
More Posts Next page »
Page view tracker