|
-
April 15th, 1999, 10:05 PM
#1
Stupid Question on calling Navigate2( ) from Mainframe
Hi ALL!!!
I have an HTML view class that calls Navigate2(_T( )) when the user clicks on one of the menu buttons. I wanted to be able to call the HTML view class to do this from my MainbFrame, but I was unable to. Could somebody please give me an example of how to make a function that is in the HTML view class that calls Navigate2(_T( )) that I can call from the Mainframe class
Thanks alot!!!
-
April 16th, 1999, 08:29 AM
#2
Re: Stupid Question on calling Navigate2( ) from Mainframe
What about:
class MyView : public CView
{
public:
...
void Navigate(const CString& strURL);
...
};
void MyView::Navigate(const CString& strURL)
{
m_WebBrowser.Navigate2(strURL);
}
Dave
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|