Esempio n. 1
0
void CMainFrame::OnWebHomePage()
{
	CChildFrame* const pFrame = DYNAMIC_DOWNCAST( CChildFrame, MDIGetActive() );
	if( pFrame )
	{
		pFrame->OnWebHomePage();
	}
	else
	{
		GoToUrl(L"http://www.workshare.com");
	}
}
Esempio n. 2
0
void CUrlRichEditCtrl::OnLButtonUp(UINT nHitTest, CPoint point) 
{
	CRichEditBaseCtrl::OnLButtonUp(nHitTest, point);

	BOOL bShift = Misc::IsKeyPressed(VK_SHIFT);

	if (bShift || FindUrl(point) != m_nContextUrl)
		m_nContextUrl = -1;
	
	if (GoToUrl(m_nContextUrl))
	{
		m_nContextUrl = -1;
	}
}
Esempio n. 3
0
 void WebLoginWidget::GoToUrl()
 {
     GoToUrl(true);
 }