jfo's coding

adventures in windows forms and wpf

Workaround for disabled flyouts

Frans ran into some trouble disabling parent menu items. Turns out they dont disable the evaluation...

Author: jfoscoding Date: 08/10/2006

run

image for run run.PNG

Author: jfoscoding Date: 08/02/2006

Win32 Activation and Focus

For the most part, activation and focus work pretty darn well in windows, until you want to tweak...

Author: jfoscoding Date: 08/02/2006

TIP: Try right clicking on the filetabs in VS 2005

"Open containing folder" and "Copy full path" are menu items I use daily. Image from a guided tour...

Author: jfoscoding Date: 07/27/2006

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...

Author: jfoscoding Date: 07/25/2006

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...

Author: jfoscoding Date: 07/23/2006

How can I figure out how much goo my object is holding onto?

Previously, we figured out a way to eek out class size information from strike. This is kind of...

Author: jfoscoding Date: 07/21/2006

Are you familiar with [ThreadStatic]?

If you're stuffing anything in thread local storage, you might be interested in the performance...

Author: jfoscoding Date: 07/18/2006

Steve's all excited about SQL Everywhere

Steve stopped by earlier in the week to tell me about his latest projects. He's really enthusiastic...

Author: jfoscoding Date: 07/07/2006

Upgrading to June CTP? Your layout might be different.

There's a breaking change to the WPF control templates, which you might need to know about. The...

Author: jfoscoding Date: 06/28/2006

Quickly finding a file in a solution

When watching folks look for a file or attempt to find something in a list of items, I find there...

Author: jfoscoding Date: 06/25/2006

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...

Author: jfoscoding Date: 06/23/2006

What is Rich Data Visualization Anyways?

One of the things you hear over and over again with WPF is the ability to do Rich Data...

Author: jfoscoding Date: 06/11/2006

Pretty darn excited - two presents shipped to my desk

A copy of Chris Sells and Michael Weinhardt's book appeared on my chair today. I guess Chris had his...

Author: jfoscoding Date: 05/25/2006

Consolas

Image for consolas, courier new, lucida newfonts.PNG

Author: jfoscoding Date: 05/20/2006

LucidaConsole

Image for lucida console lucidaconsole14.PNG

Author: jfoscoding Date: 05/20/2006

Plugging in your own templates to Create New Project and Add Item

I wanted to let you all in on a trick I've been using for creating my test projects. If you open up...

Author: jfoscoding Date: 05/14/2006

Ever wish you could do this when your PM stops by?

No more feature requests JIM!

Author: jfoscoding Date: 05/04/2006

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...

Author: jfoscoding Date: 04/19/2006

GDI book followup

An update on the GDI book reprint. Feng Yuan says the books are in!

Author: jfoscoding Date: 04/18/2006

Brian discusses the evolution of user input and feedback in the designer

Brian walks through the history of the implementation of grab handles and snaplines in the designer,...

Author: jfoscoding Date: 04/18/2006

ToolStripManager.SaveSettings and UserControls

Ingas asks a great question: In windows form I have a ToolStripContainer inside a control (inherided...

Author: jfoscoding Date: 04/12/2006

The most awesome book on GDI is getting reprinted...

I just stumbled across Feng Yuan's blog, and it seems like he's worked out a deal to get his book...

Author: jfoscoding Date: 04/08/2006

Mike shows us how to localize a hybrid application

Mike Henderlight has walked through a sample on how to localize a WPF/WindowsForms hybrid...

Author: jfoscoding Date: 04/05/2006

What's the difference between the "EmbeddedResource", "Page" and "Resource" Build Actions?

Jim has posted the results of his recent inquiry on this subject as well as some other goodness...

Author: jfoscoding Date: 04/05/2006

Chuck is all about the yield statement

One of the cool things about working on Cider is that I get to work closely with Chuck. We were...

Author: jfoscoding Date: 03/31/2006

Windows Forms documentation team is blogging

Welcome the folks behind the reams and reams of Windows Forms documentation to the world of...

Author: jfoscoding Date: 03/21/2006

Tracepoints are AWESOME!

So I was debugging a function this week that is called whenever my program is focused, which leads...

Author: jfoscoding Date: 03/16/2006

Tried the Express Editions of VS yet?

There's a new contest with fabulous prizes. Coolest thingee wins. The catch? You gotta use the...

Author: jfoscoding Date: 03/15/2006

WM_GETCONTROLNAME

Folks quite often ask how to get information about controls from outside the process. In addition to...

Author: jfoscoding Date: 03/10/2006

ProfessionalColorTable - what does what?

If you've read the ToolStrip FAQ, you may already be aware that you can replace the colors of the...

Author: jfoscoding Date: 03/08/2006

The new window manager in Windows Vista (DWM)

Greg Schecter shows of what he's been working on for the last 21 months. It's worth a read, as he...

Author: jfoscoding Date: 03/06/2006

Using Windows Forms on Windows Vista?

Brad wants to know your experiences...

Author: jfoscoding Date: 03/03/2006

Commanding in WPF

There's a nice article out on commanding in WPF.

Author: jfoscoding Date: 03/02/2006

Updates to the SplitButton sample

David was kind enough to point out some rough spots in the SplitButton sample, so I've gone ahead...

Author: jfoscoding Date: 02/28/2006

Feb CTP is out

Feb CTP is out. Rather than have a separate install, Cider is now integrated into the Visual Studio...

Author: jfoscoding Date: 02/25/2006

Sneak preview for Windows Vista UX guidelines

Slightly old news, but hey I'm not always hip to the latest info. It looks like there's a draft of...

Author: jfoscoding Date: 02/17/2006

Perf, Text Renderering and Designer hosting

There are three great articles from the Windows Forms team to read in the March issue of MSDN...

Author: jfoscoding Date: 02/17/2006

Ben talks about writing Managed Spy++

Ben has written a great article for the April issue of MSDN magazine. You can see it online here....

Author: jfoscoding Date: 02/15/2006

Some "Avalon" goodness...

I thought I'd put up a few good reads: Mapping PIs are going away in the next CTP. Rob promises to...

Author: jfoscoding Date: 02/15/2006

Kevin & Robby show "The Power of Templates"

There's a nice new MSDN TV episode talking about Data Templates and Control Templates.

Author: jfoscoding Date: 02/03/2006

Straight from the dev: DataGridView whitepapers

Regis, the dev on DataGridView has put up two new whitepapers on creating custom columns. Check it...

Author: jfoscoding Date: 02/02/2006

A different kind of key altogether: keyed collections

In most of the commonly used collections in Windows Forms 2.0, you'll find that they also take a...

Author: jfoscoding Date: 02/02/2006

New keyboard APIs: KeyEventArgs.SuppressKeyPress

Here's the scenario: In 1.1 whenever someone types one character you want to replace it with...

Author: jfoscoding Date: 01/30/2006

Discussion group goes off-topic

...and I have to say, made me giggle.

Author: jfoscoding Date: 01/28/2006

Tell us what you think about the Grid!

As you may know the Jan CTP is out, with improvements to the Cider Grid design time experience. We...

Author: jfoscoding Date: 01/27/2006

<Previous Next>