所以请朋友帮我写个代码 如 function EditPic (ahwnd,aindex,apichdc) as boolean 这样的函数 谢谢
...全文
9715打赏收藏
如何修改外部程序第N个对象的picture(如picture控件)
如题,比如,我现在打开一个外部程序,里面有几个图片,现在我需要修改这图片,但我不知道这个控件在这个程序中的前后位置,这个图片容器也有可能是外程序Form自已 所以请朋友帮我写个代码 如 function EditPic (ahwnd,aindex,apichdc) as boolean 这样的函数 谢谢
Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long