Click here to Skip to main content
15,908,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Aggrivating Dialog Problem Pin
Toni789-Jul-03 13:07
Toni789-Jul-03 13:07 
GeneralRe: Aggrivating Dialog Problem Pin
Null Monkey10-Jul-03 4:29
Null Monkey10-Jul-03 4:29 
GeneralRe: Aggrivating Dialog Problem Pin
Toni7810-Jul-03 17:53
Toni7810-Jul-03 17:53 
GeneralLink Error: Please help me out Pin
lsanil9-Jul-03 8:17
lsanil9-Jul-03 8:17 
GeneralRe: Link Error: Please help me out Pin
John M. Drescher9-Jul-03 8:33
John M. Drescher9-Jul-03 8:33 
GeneralRe: Link Error: Please help me out Pin
lsanil9-Jul-03 8:38
lsanil9-Jul-03 8:38 
GeneralRe: Link Error: Please help me out Pin
Keith D9-Jul-03 8:34
Keith D9-Jul-03 8:34 
GeneralNavigate(url) in OnTitleChange Pin
vishkhush9-Jul-03 8:05
vishkhush9-Jul-03 8:05 
Hi,
I have a basic HTML Browser built using the MFC Wizard. I am having a page where I have a set of images. On clicking the images, I am changing the title through Javascript.
Now in my HTMLViewerView.cpp, I override OnTitleChange to actually open up in full view the image clicked on. However, even navigate doesnt seem to work in OnTitleChange. Here's my code snippet...

void CMFCSlideViewerView::OnTitleChange(LPCTSTR lpszText)
{
CHtmlView::OnTitleChange(lpszText);
AfxGetMainWnd()->SetWindowText(lpszText);
CString title;
AfxGetMainWnd()->GetWindowText(title);
Navigate(_T("http://www.microsoft.com"));
}

Please note, I actually want to navigate to whatever is set in my title. However, even calling a standard URL doesnt work. I dont get any errors, my navigate call just doesnt navigate. Suggestions welcome.
Thanks in advance,
Vish

GeneralBrowse Informaiton (BSC) Files Pin
compiler9-Jul-03 7:44
compiler9-Jul-03 7:44 
GeneralRe: Browse Informaiton (BSC) Files Pin
Neville Franks9-Jul-03 12:23
Neville Franks9-Jul-03 12:23 
GeneralRe: Browse Informaiton (BSC) Files Pin
compiler10-Jul-03 6:38
compiler10-Jul-03 6:38 
Generalmouse event Pin
andyg.1019-Jul-03 7:26
andyg.1019-Jul-03 7:26 
GeneralRe: mouse event Pin
Keith D9-Jul-03 7:33
Keith D9-Jul-03 7:33 
GeneralRe: mouse event Pin
andyg.1019-Jul-03 8:39
andyg.1019-Jul-03 8:39 
GeneralRe: mouse event Pin
Cedric Moonen9-Jul-03 20:17
Cedric Moonen9-Jul-03 20:17 
GeneralRe: mouse event Pin
andyg.1019-Jul-03 22:35
andyg.1019-Jul-03 22:35 
GeneralRe: mouse event Pin
Cedric Moonen9-Jul-03 22:58
Cedric Moonen9-Jul-03 22:58 
GeneralODBC; Multiple rows updated. Pin
RalfPeter9-Jul-03 7:13
RalfPeter9-Jul-03 7:13 
GeneralRe: ODBC; Multiple rows updated. Pin
perlmunger9-Jul-03 7:32
perlmunger9-Jul-03 7:32 
GeneralRe: ODBC; Multiple rows updated. Pin
Anonymous9-Jul-03 10:57
Anonymous9-Jul-03 10:57 
GeneralRe: ODBC; Multiple rows updated. Pin
Toni789-Jul-03 13:14
Toni789-Jul-03 13:14 
GeneralRe: ODBC; Multiple rows updated. Pin
Anonymous10-Jul-03 4:13
Anonymous10-Jul-03 4:13 
GeneralRe: ODBC; Multiple rows updated. Pin
Toni7810-Jul-03 18:07
Toni7810-Jul-03 18:07 
Generalcannot display BMP when resolution is 0 Pin
Satyaki9-Jul-03 7:03
Satyaki9-Jul-03 7:03 
GeneralRe: cannot display BMP when resolution is 0 Pin
John M. Drescher9-Jul-03 8:10
John M. Drescher9-Jul-03 8:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.