Link to home
Start Free TrialLog in
Avatar of Suncore
Suncore

asked on

WinMo 6.5 HTC HD2 - Screenshot

Could anyone please tell me how to take a screen shot on a HTC HD2 mobile phone running Windows Mobile 6.5?

Thanks in advance.
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image


HDC hdcDevice = GetDC(NULL);
HDC hdcMem = CreateCompatibleDC(hdcDevice );
StretchBlt(hdcMem, 0, 0, width, height,
                   hdcDevice, xoff, yoff, realScreenWidth, realScreenHeight,
                   SRCCOPY);

Open in new window

Avatar of Suncore
Suncore

ASKER

Hi alexey_qusey - I have no doubt my answer is in that code somewhere however unfortunately I have no idea how to use to to take a screen shot, could you elaborate ?

What do I do with that code ?
first of all, what language are you using? it'll be a bit different in c++ and cf.net
ASKER CERTIFIED SOLUTION
Avatar of hjgode
hjgode
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Suncore

ASKER

Just what I am looking for, thankyou so much :)
ha ha, I thought you wanted to get the screenshot programmatically :)
Avatar of Suncore

ASKER

Wish I did have the skills to do that ;)