Split a view from a menu item or keystroke

If you want to have a "Split" item on the menu instead of just using the split boxes in the scroll bars call this method. This is very useful if you want to split a view that has no scroll bars.
void CMySplitterView::OnWindowSplit() 
{
	((CSplitterWnd*)GetParent())->DoKeyboardSplit(); 
}



Comments

  • hello

    Posted by meilimeili on 08/14/2010 11:16pm

    nice to meet  you

    Reply
  • xu_bin

    Posted by Legacy on 03/14/2003 12:00am

    Originally posted by: xu_bin

    df
    

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: April 22, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Database professionals — whether developers or DBAs — can often save valuable time by learning to get the most from their new or existing productivity tools. Whether you're responsible for managing database projects, performing database health checks and reporting, analyzing code, or measuring software engineering metrics, it's likely you're not taking advantage of some of the lesser-known features of Toad from Dell. Attend this live …

  • Confused by all the agile advice? Relax! With the Agile for Dummies eBook by your side you'll learn the fundamentals of agile and how to increase the productivity of your software teams while enabling them to produce higher-quality solutions that better fulfill customer needs much faster.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds