I am developing a touchscreen windows vb 2008 app that has a horizontal splitcontainer on the mdi parent form.
In Pane2 I have a keyboard that can be hidden/shown by pressing a button OR a user can also show/hide the keyboard by dragging the splitter up/down.
I need to either show/or hide the keyboard as they are dragging the splitter.
I also thought of just resizing panel2 and not setting the keyboards visible property but I need a way to expand/collapse panel2 when the user presses the touchscreen button.
How do I either determine the direction the splitter is being moved OR How do I get the correct distance in order to expand/collapse panel2?