Converting from MFC dialog units to pixels
Using C#, how would I convert from dialog units 开发者_StackOverflow社区(used in resource files to specify height/width) to pixels?
There's a WinAPI function to map dialog units to pixels:
MapDialogRect function
精彩评论