hi,The results of these two functions depend which map model you use.
In GDI process, The Window Original point, which you set with SetWindowOrg, Would be mapped to View port Original point, it means there is a coodinate transfer based on this two point. The content in client area would be displayed. Note: SetWindowOrg() take logical unit as params, while SetViewportOrg() take device unit as params.you can test it with MM_TEXT, that is simple.
In GDI process, The Window Original point, which you set with SetWindowOrg, Would be mapped to View port Original point, it means there is a coodinate transfer based on this two point. The content in client area would be displayed. Note: SetWindowOrg() take logical unit as params, while SetViewportOrg() take device unit as params.you can test it with MM_TEXT, that is simple.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货