BOOL CMyPlugin::InitInstance() { CWinAppEx::InitInstance(); AfxEnableControlContainer(); CWnd* pWnd = SDKApp().m_pMainWnd; if( NULL == pWnd) return 0; m_wndRibbonBar.Create(pWnd); m_wndRibbonBar.LoadFromResource(IDR_RIBBON1); return true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)