I would like to hide the scrollbar (visible=false) when a scroll bar appears on the MDIForm. The following api call gets me the handle of the object that is the container of the forms within the mdiform. Table is an mdichild of MDIForm InsideHandleOfMDIWindow is the handle of the object that is the container for table (different from MDIFORM.hwnd). I would like to get the handle (hwnd) of the MDIForms scrollbar
Dim ErrorCode As Long
Dim Ghostrec As RECT
Dim InsideHandleOfMDIWindow As Long
InsideHandleOfMDIWindow = GetParent(Table.hwnd)
Dim ErrorCode As Long
Dim Ghostrec As RECT
Dim InsideHandleOfMDIWindow As Long
InsideHandleOfMDIWindow = GetParent(Table.hwnd)