void Nish(char* szBlog);

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

void Nish(char* szBlog); header image 4

Entries from July 2007

Setting FontSize programmatically

July 29th, 2007 · 2 Comments

I was moving a WinForms app to WPF and I was perplexed for quite a while this morning when I found that setting the FontSize on a WPF TextBlock didn’t really give me the font-size I expected (the one that WinForms gave me). It was obvious pretty soon that WinForms was using point as the [...]

[Read more →]

Tags: WPF (Avalon)

A data-bound multi-column combobox

July 28th, 2007 · 3 Comments

I wrote a multi-column combobox class with support for data-binding at work and I have published an article on it here :- A data-bound multi-column combobox It’s fairly easy to use and all you need to do is to set the DataSource property. The control will auto-populate the columns from the columns (if any) in [...]

[Read more →]

Tags: CLR/.NET BCL

Vista rebooted during my VS Orcas beta install!

July 24th, 2007 · 4 Comments

I started an installation of Visual studio Orcas beta 1 last night just before I went to sleep and also set the alarm for 3 AM so I could wake up and hit [Next] when it prompts me to install the documentation. Well guess what? I woke up and found that Vista had rebooted and [...]

[Read more →]

Tags: General

More on extending the marshal_as library

July 12th, 2007 · 1 Comment

In my previous blog entry, I talked about extending marshal_as to support other type conversions in addition to the default ones. But the examples I used didn’t need to handle resource deallocation. When you have type conversions which require explicit resource deallocation, you have to handle it slightly differently. As an example I have written [...]

[Read more →]

Tags: C++/CLI · VC++ Orcas

Extending the marshal_as library

July 8th, 2007 · 4 Comments

A couple of blog entries ago, I had written about the marshal_as library that is introduced in Orcas and how it’s very useful for mixed-mode string conversions. While the built-in functionality only allows string conversions, it’s also possible to extend marshal_as functionality to support other type conversions. As an example of doing this, I have [...]

[Read more →]

Tags: C++/CLI · VC++ Orcas

voidnish.com updated to ASP.NET 2

July 1st, 2007 · 1 Comment

It’s been quite a while since I blogged – I am not sure why though. There are various topics I meant to blog about but never got around to doing it. Anyway this morning I updated my website (www.voidnish.com) to ASP.NET 2. Of course, there’s not going to be any speed difference or anything like [...]

[Read more →]

Tags: General