在Form对象上使用textout时,要用hdc,在网上我看到两种方法,不知哪一种正确,或都正确,或有所区别。
1.
textout form1.hdc .......
2.
dim dc as long
dc = getdc from1.hwnd
textout dc .......
releasedc from1.hwnd dc另外,如果第二种方法是正确的话,那么printer对象没有hwnd属性,如何操作才是正确的。