I have a multiple monitor setup and I want to print a bitmap from an area of the screen on the 2nd monitor.
However, if I use:
xScrn = GetDeviceCaps(hScreenDC, HORZRES);
yScrn = GetDeviceCaps(hScreenDC, VERTRES);
I get only the size of the primary monitor. This means that with my current logic, I cannot print from the second monitor.
How can I get the size in pixels of the complete screen?
Thanks in advance for any help.
However, if I use:
xScrn = GetDeviceCaps(hScreenDC, HORZRES);
yScrn = GetDeviceCaps(hScreenDC, VERTRES);
I get only the size of the primary monitor. This means that with my current logic, I cannot print from the second monitor.
How can I get the size in pixels of the complete screen?
Thanks in advance for any help.