CDuiVisionDesignerView::XDuiVisionDesignerView::SetTooltipCtrlID(int nTooltipCtrlID) { CDuiVisionDesignerView *pObj = GET_INTERFACE_OBJECT(DuiVisionDesignerView); if(pObj) { pObj->SetTooltipCtrlID(nTooltipCtrlID); } }
CDuiPanel::XDuiPanel::SetTooltipCtrlID(int nTooltipCtrlID) { CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel); if(pObj) { pObj->SetTooltipCtrlID(nTooltipCtrlID); } }
CDuiPanel::XDuiPanel::GetTooltipCtrlID() { CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel); if(pObj) { return pObj->GetTooltipCtrlID(); } return 0; }
CDuiVisionDesignerView::XDuiVisionDesignerView::GetTooltipCtrlID() { CDuiVisionDesignerView *pObj = GET_INTERFACE_OBJECT(DuiVisionDesignerView); if(pObj) { return pObj->GetTooltipCtrlID(); } return 0; }
// 显示DockingPane窗口时调用的函数 CWnd* __stdcall CVciOwm::XVciOwm::OnShowDockingPane(int nID, CWnd* pParentWnd, LPCTSTR lpszParam) { CVciOwm *pObj = GET_INTERFACE_OBJECT(VciOwm); XTPTaskPanelPaintTheme paneTheme = xtpTaskPanelThemeShortcutBarOffice2003; int nTheme = AfxGetApp()->GetProfileInt(REG_CONFIG_SUBKEY, REG_CONFIG_SKIN_THEME, xtpThemeRibbon); switch(nTheme) { case xtpThemeOffice2000: paneTheme = xtpTaskPanelThemeOffice2000; break; case xtpThemeOfficeXP: paneTheme = xtpTaskPanelThemeListViewOfficeXP; break; case xtpThemeOffice2003: paneTheme = xtpTaskPanelThemeListViewOffice2003; break; case xtpThemeNativeWinXP: paneTheme = xtpTaskPanelThemeNativeWinXP; break; case xtpThemeWhidbey: paneTheme = xtpTaskPanelThemeToolboxWhidbey; break; case xtpThemeOffice2007: paneTheme = xtpTaskPanelThemeShortcutBarOffice2003; break; case xtpThemeRibbon: paneTheme = xtpTaskPanelThemeShortcutBarOffice2007; break; } CWnd* pWnd = (CWnd*)(new CXTPTaskPanel()); theApp.m_pToolboxPane = (CXTPTaskPanel*)pWnd; theApp.m_pToolboxPane->Create(WS_CHILD|WS_VISIBLE, CRect(0, 0, 0, 0), pParentWnd, nID);//DOCKPANE_ID_TOOLBOX); theApp.m_pToolboxPane->SetOwner(pParentWnd); theApp.m_pToolboxPane->SetBehaviour(xtpTaskPanelBehaviourToolbox); theApp.m_pToolboxPane->SetTheme(paneTheme); theApp.m_pToolboxPane->SetSelectItemOnFocus(TRUE); theApp.m_pToolboxPane->SetGroupIconSize(CSize(16, 16)); theApp.m_pToolboxPane->Reposition(); theApp.m_pToolboxPane->AllowDrag(FALSE); theApp.m_pToolboxPane->EnableAnimation(TRUE); // 创建工具组 get_dll_resource(); // 加载toolbox配置文件 CString strToolboxPath = theApp.GetModulePath() + "\\toolbox"; if(LANGUAGE_CHINESE == pObj->GetLanguage()) { strToolboxPath += "\\cn"; }else { strToolboxPath += "\\en"; } theApp.m_pToolboxPane->GetGroups()->Clear(FALSE); CString strToolboxFile = strToolboxPath + "\\duivision_base_control_cn.xml"; pObj->LoadToolbox(strToolboxFile); reset_dll_resource(); return pWnd; }
int __stdcall CDuiPlugin::XDuiPlugin::OnMessage(UINT uID, UINT uMsg, WPARAM wParam, LPARAM lParam) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->OnMessage(uID, uMsg, wParam, lParam); }
CDuiVisionDesignerView::XDuiVisionDesignerView::SetTooltip(int nCtrlID, LPCTSTR lpszTooltip, CRect rect, int nTipWidth) { CDuiVisionDesignerView *pObj = GET_INTERFACE_OBJECT(DuiVisionDesignerView); pObj->SetTooltip(nCtrlID, lpszTooltip, rect, nTipWidth); }
CDuiVisionDesignerView::XDuiVisionDesignerView::ClientToScreen(LPPOINT lpPoint) { CDuiVisionDesignerView *pObj = GET_INTERFACE_OBJECT(DuiVisionDesignerView); pObj->ClientToScreen(lpPoint); }
int __stdcall CDuiPlugin::XDuiPlugin::OnLButtonDblClk(UINT nFlags, CPoint point) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->OnLButtonDblClk(nFlags, point); }
int __stdcall CDuiPlugin::XDuiPlugin::OnScroll(BOOL bVertical, UINT nFlags, CPoint point) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->OnScroll(bVertical, nFlags, point); }
//{{ 注意:!!!这里是保留的重要函数,不可删除!!! // 获取接口的额外信息 LPVOID __stdcall CDuiPlugin::XDuiPlugin::GetExtraInfo(LPVOID lpRefData) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj; }
CDuiPanel::XDuiPanel::ClearTooltip() { CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel); pObj->ClearTooltip(); }
CDuiPanel::XDuiPanel::SetTooltip(int nCtrlID, LPCTSTR lpszTooltip, CRect rect, int nTipWidth) { CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel); pObj->SetTooltip(pObj, lpszTooltip, rect, FALSE, nTipWidth); }
CDuiPanel::XDuiPanel::GetPaintHWnd() { CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel); return pObj->GetPaintHWnd(); }
CDuiPanel::XDuiPanel::ClientToScreen(LPPOINT lpPoint) { CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel); pObj->ClientToScreen(lpPoint); }
int __stdcall CDuiPlugin::XDuiPlugin::OnMousePointChange(CPoint& point) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->OnMousePointChange(point); }
int __stdcall CDuiPlugin::XDuiPlugin::OnMouseMove(UINT nFlags, CPoint point) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->OnMouseMove(nFlags, point); }
//{{VCI_INTERFACE_IMPLEMENT_BEGIN int __stdcall CDuiPlugin::XDuiPlugin::OnInit(UINT nIDTemplate, HWND hWnd, LPCTSTR lpszName, CRect rc) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->OnInit(nIDTemplate, hWnd, lpszName, rc); }
int __stdcall CDuiPlugin::XDuiPlugin::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->OnKeyDown(nChar, nRepCnt, nFlags); }
int __stdcall CDuiPlugin::XDuiPlugin::SetRect(CRect rc) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->SetRect(rc); }
int __stdcall CDuiPlugin::XDuiPlugin::SetUpdate(BOOL bUpdate, COLORREF clr) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->SetUpdate(bUpdate, clr); }
int __stdcall CDuiPlugin::XDuiPlugin::SetDisable(BOOL bIsDisable) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->SetDisable(bIsDisable); }
CDuiVisionDesignerView::XDuiVisionDesignerView::GetPaintHWnd() { CDuiVisionDesignerView *pObj = GET_INTERFACE_OBJECT(DuiVisionDesignerView); return pObj->GetSafeHwnd(); }
int __stdcall CDuiPlugin::XDuiPlugin::SetFocus(BOOL bFocus) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->SetFocus(bFocus); }
CDuiVisionDesignerView::XDuiVisionDesignerView::ClearTooltip() { CDuiVisionDesignerView *pObj = GET_INTERFACE_OBJECT(DuiVisionDesignerView); pObj->ClearTooltip(); }
int __stdcall CDuiPlugin::XDuiPlugin::DrawControl(CDC &dc, CRect rcUpdate) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->DrawControl(dc, rcUpdate); }
int __stdcall CDuiPlugin::XDuiPlugin::OnTimer(UINT uTimerID, LPCTSTR lpszTimerName) { CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin); return pObj->OnTimer(uTimerID, lpszTimerName); }
//{{ 注意:!!!这里是保留的重要函数,不可删除!!! // 获取接口的额外信息 LPVOID __stdcall CVciOwm::XVciOwm::GetExtraInfo(LPVOID lpRefData) { CVciOwm *pObj = GET_INTERFACE_OBJECT(VciOwm); return pObj; }