Share

CNavDialog::LaunchBrowserDialog

C++

virtual BOOL LaunchBrowserDialog(
    CString& strSelectedURL, 
    LPCTSTR strDialogCaption, 
    LPCTSTR strOk, 
    LPCTSTR strStartPage
);

Description

Launches a browser and gets a URL. The default implementation launches the user's browser. Returns true on success and false on failure. Override this function to implement the Web button in a different manner.

Parameters

Parameters Description
strSelectedURL Resulting URL when the browser is launched
strDialogCaption Dialog caption
strOk Text for the commit button
strStartPage Starting URL

Links

CNavDialog Class

Was this information helpful?