Let\'s say I have a handle to device context (naturally, in Windows environment):
HDC hdc;
How can I get the width and height of it?
I also know little about GDI, but it seems GetDeviceCaps might do the trick.