step1 : get the instance handle or Get main window handle
(CMainframe *)AfxGetMainWnd() return main window (frame window)
step2 :
GetActiveView // for you can only draw in view ,
step3:
GetDC()
(CMainframe *)AfxGetMainWnd() return main window (frame window)
step2 :
GetActiveView // for you can only draw in view ,
step3:
GetDC()
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货