Home > Net > Vb2017 using API function to EXCEL binding in his own form, form area.
Vb2017 using API function to EXCEL binding in his own form, form area.
Time:10-12
Vb2017 using API function to EXCEL binding in his own form, form area has no reaction, Word completely normal operation after binding, office version of 2013, in 2010 before the EXCEL as if the same code can edit, is now a mouse and keyboard form area completely don't respond, open the function button scroll bar is normal, amateur, unable to find a reason, please great god glad,
Code to run without error, the estimate is excel itself question, Fuzhuwindowstyle=GetWindowLong (fuzhuProcess MainWindowHandle, GWL_STYLE) '//remove the window frame. SetWindowLong (fuzhuProcess MainWindowHandle GWL_STYLE, fuzhuwindowstyle And Not WS_CAPTION And Not WS_EX_TOOLWINDOW And Not WS_SIZEBOX) Dim innerWnd1 As IntPtr=fuzhuProcess. MainWindowHandle SetWindowPos (innerWnd1, IntPtr. Zero, 0, 0, auxiliary CPanel. ClientSize. Width, auxiliary CPanel. ClientSize. Height, SWP_NOZORDER)
CodePudding user response:
Find the ms are not necessarily know where the problem is Or you can consider using vsto development excel extensions