Fernando_Fiore

fixed cut,copy,paste with splitter

Sep 6th, 2020
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×