There is a small error in code, correct code is:
long hDC=pChart->GetCanvas().GetHandleDC().lVal;
Please notice the attached '.lVal'.
Best regards,
naiditsch
Search found 1 match
- Tue Feb 05, 2008 3:26 pm
- Forum: ActiveX
- Topic: How to get HDC from Canvas
- Replies: 2
- Views: 6953