   CreateDC problem!
  Hi AllIam trying to grab the entire mutlimon desktop in my C++ app on a system running Vista 64bit, and Iam using CreateDC to get the desktop as described on MSDN."Windows 2000 and later: If there are multiple monitors on the system, calling CreateDC(TEXT("DISPLAY"),NULL,NULL,NULL) will create a DC covering all the monitors."But the context I get back is the size of just one monitor ie 1280x1024, if I use specfic display names ie \\.\DISPLAY1 and 2 then I get each monitor as expected. Has something changed or am I doing something wrong, it's no great problem to grab each display but just wondering why CreateDC doesnt work as described on MSDN. Anyone have this working?ThanksChrisAs ever find the problem just after posting, was using HORZRES and VERTRES in GetDeviceCaps which gives screen size and not desktop size.[Edited by - spookycat on April 27, 2009 9:39:19 AM]
  Just use GetDC(NULL).   