Advertisement
Fernando_Fiore

fixed cut,copy,paste with splitter

Sep 6th, 2020
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. BEGIN_MSG_MAP(CMainFrame)
  2.         MESSAGE_HANDLER(WM_CREATE, OnCreate)
  3.         MESSAGE_HANDLER(WM_DESTROY, OnDestroy)
  4.         MESSAGE_HANDLER(WM_SETFOCUS, OnSetFocus)
  5.         COMMAND_ID_HANDLER(ID_APP_EXIT, OnFileExit)
  6.         COMMAND_ID_HANDLER(ID_FILE_NEW, OnFileNew)
  7.     {
  8.         int nPane = m_split.GetActivePane();
  9.         if (nPane == SPLIT_PANE_LEFT)
  10.             CHAIN_MSG_MAP_MEMBER(m_view)
  11.         else
  12.             CHAIN_MSG_MAP_MEMBER(m_edit)
  13.     }
  14.        
  15.         CHAIN_MSG_MAP(CUpdateUI<CMainFrame>)
  16.         CHAIN_MSG_MAP(CFrameWindowImpl<CMainFrame>)
  17.     END_MSG_MAP()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement