可以实现了,在前面声明WINAPI函数, Option Explicit Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long Private Declare Function GetParent Lib "user32" (ByVal hwnd As Long) As Long Private lHwnd As Long 在FormLoad中,调用AutoCAD_Appliaction即可, Call AutoCAD_Appliaction(Picture1, acadapp, acadDoc) 显示出来的界面与Autocad界面及操作完全一样。 但是,Autocad可以在Picture内部拖动,并且能够关闭和最小化,如何限制CAD的这些功能呢?还请各位高手指教,先谢了! |