CDuiVisionDesignerView::XDuiVisionDesignerView::SetTooltipCtrlID(int nTooltipCtrlID)
{
	CDuiVisionDesignerView *pObj = GET_INTERFACE_OBJECT(DuiVisionDesignerView);
	if(pObj)
	{
		pObj->SetTooltipCtrlID(nTooltipCtrlID);
	}
}
示例#2
0
CDuiPanel::XDuiPanel::SetTooltipCtrlID(int nTooltipCtrlID)
{
	CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel);
	if(pObj)
	{
		pObj->SetTooltipCtrlID(nTooltipCtrlID);
	}
}
示例#3
0
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;
}
示例#5
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;
}
示例#6
0
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);
}
示例#9
0
int __stdcall CDuiPlugin::XDuiPlugin::OnLButtonDblClk(UINT nFlags, CPoint point)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->OnLButtonDblClk(nFlags, point);
}
示例#10
0
int __stdcall CDuiPlugin::XDuiPlugin::OnScroll(BOOL bVertical, UINT nFlags, CPoint point)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->OnScroll(bVertical, nFlags, point);
}
示例#11
0
//{{ 注意:!!!这里是保留的重要函数,不可删除!!!
// 获取接口的额外信息
LPVOID __stdcall CDuiPlugin::XDuiPlugin::GetExtraInfo(LPVOID lpRefData)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj;
}
示例#12
0
CDuiPanel::XDuiPanel::ClearTooltip()
{
	CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel);
	pObj->ClearTooltip();
}
示例#13
0
CDuiPanel::XDuiPanel::SetTooltip(int nCtrlID, LPCTSTR lpszTooltip, CRect rect, int nTipWidth)
{
	CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel);
	pObj->SetTooltip(pObj, lpszTooltip, rect, FALSE, nTipWidth);
}
示例#14
0
CDuiPanel::XDuiPanel::GetPaintHWnd()
{
	CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel);
	return pObj->GetPaintHWnd();
}
示例#15
0
CDuiPanel::XDuiPanel::ClientToScreen(LPPOINT lpPoint)
{
	CDuiPanel *pObj = GET_INTERFACE_OBJECT(DuiPanel);
	pObj->ClientToScreen(lpPoint);
}
示例#16
0
int __stdcall CDuiPlugin::XDuiPlugin::OnMousePointChange(CPoint& point)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->OnMousePointChange(point);
}
示例#17
0
int __stdcall CDuiPlugin::XDuiPlugin::OnMouseMove(UINT nFlags, CPoint point)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->OnMouseMove(nFlags, point);
}
示例#18
0
//{{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);
}
示例#19
0
int __stdcall CDuiPlugin::XDuiPlugin::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->OnKeyDown(nChar, nRepCnt, nFlags);
}
示例#20
0
int __stdcall CDuiPlugin::XDuiPlugin::SetRect(CRect rc)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->SetRect(rc);
}
示例#21
0
int __stdcall CDuiPlugin::XDuiPlugin::SetUpdate(BOOL bUpdate, COLORREF clr)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->SetUpdate(bUpdate, clr);
}
示例#22
0
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();
}
示例#24
0
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();
}
示例#26
0
int __stdcall CDuiPlugin::XDuiPlugin::DrawControl(CDC &dc, CRect rcUpdate)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->DrawControl(dc, rcUpdate);
}
示例#27
0
int __stdcall CDuiPlugin::XDuiPlugin::OnTimer(UINT uTimerID, LPCTSTR lpszTimerName)
{
	CDuiPlugin *pObj = GET_INTERFACE_OBJECT(DuiPlugin);
	return pObj->OnTimer(uTimerID, lpszTimerName);
}
示例#28
0
//{{ 注意:!!!这里是保留的重要函数,不可删除!!!
// 获取接口的额外信息
LPVOID __stdcall CVciOwm::XVciOwm::GetExtraInfo(LPVOID lpRefData)
{
	CVciOwm *pObj = GET_INTERFACE_OBJECT(VciOwm);
	return pObj;
}