Using C#, how would I convert from dialog units (used in resource files to specify height/width) to pixels?
Thats the concept I'm looking for. Is it available in C# anywhere?
John
2010-02-16 22:29:27
Actually, this particular example works only when your dialog uses the "System" font, which is no longer the default font for dialogs. see http://msdn.microsoft.com/en-us/library/ms645475(VS.85).aspx
John Knoeller
2010-02-16 22:32:14
Actually, there's also MFC wrapper:http://msdn.microsoft.com/en-us/library/1hb7x4ze.aspx
Janusz Lenar
2010-02-28 14:03:00