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

  • A help desk is critical to the operations of an IT services business. As a centralized intake location for technical issues, it allows for a responsive and timely solution to get clients and their staff back to business as usual. In addition to handling immediate IT issues, a help desk performs several proactive tasks to ensure clients' IT systems remain operational and downtime is minimized. Thus, utilizing a help desk and following best practices can improve the productivity, efficiency and satisfaction of …

  • Hurricane Sandy was one of the most destructive natural disasters that the United States has ever experienced. Read this success story to learn how Datto protected its partners and their customers with proactive business continuity planning, heroic employee efforts, and the right mix of technology and support. With storm surges over 12 feet, winds that exceeded 90 mph, and a diameter spanning more than 900 miles, Sandy resulted in power outages to approximately 7.5 million people, and caused an estimated $50 …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds