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

  • Adaptation and evolution are fundamental requirements of survival -- not only in nature, but also in business. Our world has changed dramatically in a short amount of time. Many businesses are fueling and capitalizing on this change, while others are desperately clinging to a bygone era. Who is left standing in the years and decades ahead should come as no surprise. This edition of Unleashing IT highlights the companies that are embracing new circumstances, new methods, and new opportunities. By downloading …

  • As everyone scrambles to protect customers and consumers from the Heartbleed virus, there will be a variety of mitigating solutions offered up to address this pesky bug. There are a variety of points within the data path where solutions could be put into place to mitigate this (and similar) vulnerabilities and customers must choose the most strategic point in the network at which to deploy their selected mitigation. Read this white paper to learn the ins and outs of mitigating the risk of Heartbleed and the …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds