C 言語関数:GetViewportOrgEx サンプルコード

サンプルコードを検索した結果です。


TITLE : windows - How to create a sub-rectangle device context for drawing onto - Stack Overflow
This helped, thanks. It did play havoc with my existing CScrollView, so you have to add what the current origin may be first: CPoint currentOrigin; GetViewportOrgEx(pDC->GetSafeHdc(), ¤tOrigin); SetViewportOrgEx(pDC->GetSafeHdc(), currentOrigin.x + XBorder, currentOrigin.y + YBorder, NULL); ? DanDan Feb 5 '14 at 21:10.......
http://stackoverflow.com/questions/21561534/how-to-create-a-sub-rectangle-device-context-for-drawing-onto


Googleで検索

https://www.google.co.jp/#q=GetViewportOrgEx