Welcome to MSDN Blogs Sign in | Join | Help

jfo's coding

adventures in windows forms and wpf

January 2006 - Posts

New keyboard APIs: KeyEventArgs.SuppressKeyPress
Here's the scenario: In 1.1 whenever someone types one character you want to replace it with another. (If you're thinking password textbox there's a TextBox.UseSystemPassword=true flag you should use). So you sync TextBox KeyDown, set handled to true Read More...
Discussion group goes off-topic
...and I have to say, made me giggle . Read More...
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 want to know what you think . Read More...
A new way of saying IsInputKey: PreviewKeyDown
A year ago, I diagramed the maze that is Windows Forms keyboard handling . There are some new helper methods in 2.0 that I havent gotten a chance to mention, which I thought might be interesting. This first is PreviewKeyDown . If you've struggled before Read More...
How do I get keyboard access to my ToolStripButton?
I've gotten this question a couple times so I thought I'd share. If you want to allow keyboard access to your ToolStripButton, there are several options for doing so. Option A Classically, a toolbar button should be a duplicate of whats on your menu. Read More...
I admit it, I'm a fair weather fan
If you know anything about Seattle, then you'll know it's been raining quite a bit this winter ( denied from trumping our record 33 days because the 28th day did not have 1/100th inch of rain ). If you ask most folks, they're pretty grumpy about not setting Read More...
More on "Avalon" RichTextBox
As promised , I learned more so I'm sharing. Last time I figured out how to stuff plain text into the RichTextBox, but that's not very "rich", is it? How do I put RTF (rich text format) into a RichTextBox? It turns out the support for this seems to be Read More...
Billy Hollis on the history of languages...
I had the pleasure of meeting Billy Hollis recently. He has an amusing history of BASIC languages and C-style languages . Read More...
Some tricks for working with WPF’s RichTextBox
I’ve been playing around with the RichTextBox, and as Richard points out, the free spell checking on WPF TextBoxes is really cool – especially for the “spelling challenged” such as myself. The programming model for the WPF RichTextBox is quite a bit richer Read More...
Sheesh, now Mark is blogging too?!
Mark Rideout , PM on the Windows Forms team has started blogging, and has some great nuggets of information about the DataGridView . You can now personally thank him for his great FAQ . Read More...
Jim and Windows Media Visualizers in WPF
Jim Galasyn never ceases to amaze me with what he's up to. It seems this week it's writing visualizers for windows media in WPF . Read More...
Looking forward to two things...
Watching the new season of BSG and reading Charles Petzold's latest book on Windows Forms . Read More...
Richard is blogging
Richard Bailey , fellow Cider dev, is blogging... ...and starts off by letting us all know how to put a mnemonic on a label in WPF. Instead of "&mnemonic" its "_mnemonic" (ampersands don't work so well in XML), and instead of using TabIndex, the Label Read More...
Page view tracker