void Nish(char* szBlog);

Nish’s thoughts on MFC, C++/CLI and .NET

void Nish(char* szBlog); header image 4

Entries from July 2006

Setting default focus to a particular control via XAML

July 7th, 2006 · 2 Comments

I wanted to avoid calling control.Focus() in the Window derived class’s constructor and wanted to see how it’s done via XAML. I couldn’t get it working after 5-10 minutes of trying out various stuff, but someone helped me out in the MSDN forums. Here’s how it’s done – in the following code snippet, I am [...]

[Read more →]

Tags: WPF (Avalon)