troubleshooting Question

Determine which direction a splitter is being moved

Avatar of Sheritlw
SheritlwFlag for United States of America asked on
Visual Basic.NET
2 Comments2 Solutions622 ViewsLast Modified:

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?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros