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

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

  • Ever-increasing workloads and the challenge of containing costs leave companies conflicted by the need for increased processing capacity while limiting physical expansion. Migration to HP's new generation of increased-density rack-and-blade servers can address growing demands for compute capacity while reducing costly sprawl. Sponsored by: HP and Intel® Xeon® processors Intel, the Intel logo, and Xeon Inside are trademarks of Intel Corporation in the U.S. and/or other countries. HP is the sponsor …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds