Click here to Skip to main content
15,913,223 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: How to open webbrowser window Pin
Alex BitRise19-Jan-05 10:33
sussAlex BitRise19-Jan-05 10:33 
Generalbstr, wchar_t, and code pages Pin
Samsung15-Jan-05 7:05
Samsung15-Jan-05 7:05 
GeneralSTL error Pin
mansour_ahmadian15-Jan-05 1:30
mansour_ahmadian15-Jan-05 1:30 
GeneralRe: STL error Pin
Michael Dunn15-Jan-05 10:29
sitebuilderMichael Dunn15-Jan-05 10:29 
GeneralCustomising Connection Tab in data link dialog Box Pin
Member 1266497613-Jan-05 20:44
Member 1266497613-Jan-05 20:44 
GeneralOnSize : Positioning Static Controls Pin
tnguyen44412-Jan-05 12:40
tnguyen44412-Jan-05 12:40 
GeneralRe: OnSize : Positioning Static Controls Pin
SteveKing14-Jan-05 1:04
SteveKing14-Jan-05 1:04 
GeneralAccessing IwebBrowser2 outside toolbar class Pin
tnguyen44412-Jan-05 12:11
tnguyen44412-Jan-05 12:11 
--------------------------------------------------------------------------------

Hello, I am newbie to Visual C++ / ATL Programming with a question:

I have a toolbar class in which I have an instance of IWebBrowser2 that is used by the toolbar to naviagate Internet Explorer to various urls. I also have a seperate hyperlink function, not part of any class, that converts static controls into hyperlinks. The hyperlink function catches whenever the hyperlinked static control is clicked. I need to do it so that whenever the control is clicked, the current url is grabbed and something is done with it by the event in the hyperlink function. I have tried to create another instance of IWebBrowser2 in the hyperlink function and then use the get_LocationUrl to try to get the current Url, however there
is a runtime error. Please help.

Thanks in advance.
GeneralSorry! ATL : get_, put_, CString and BSTR Pin
Malcolm Smart11-Jan-05 9:34
Malcolm Smart11-Jan-05 9:34 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Martin Koorts12-Jan-05 1:19
Martin Koorts12-Jan-05 1:19 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Malcolm Smart12-Jan-05 3:14
Malcolm Smart12-Jan-05 3:14 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Martin Koorts12-Jan-05 4:36
Martin Koorts12-Jan-05 4:36 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Malcolm Smart12-Jan-05 5:10
Malcolm Smart12-Jan-05 5:10 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Martin Koorts12-Jan-05 5:17
Martin Koorts12-Jan-05 5:17 
GeneralAdd Event for ATL based ActiveX Control Pin
greekgoddj10-Jan-05 21:43
greekgoddj10-Jan-05 21:43 
GeneralGDI+ Drawing shape on usercontrol shifts form up Pin
abcxyz8210-Jan-05 6:23
abcxyz8210-Jan-05 6:23 
Question&#xxx to character? Pin
Samsung10-Jan-05 2:30
Samsung10-Jan-05 2:30 
Generalie toolbar to block sites based on domain/ip address of the domain Pin
mr_mark_hewitt10-Jan-05 0:28
mr_mark_hewitt10-Jan-05 0:28 
GeneralRe: ie toolbar to block sites based on domain/ip address of the domain Pin
Martin Koorts10-Jan-05 3:49
Martin Koorts10-Jan-05 3:49 
GeneralRe: ie toolbar to block sites based on domain/ip address of the domain Pin
mr_mark_hewitt10-Jan-05 4:40
mr_mark_hewitt10-Jan-05 4:40 
GeneralRe: ie toolbar to block sites based on domain/ip address of the domain Pin
Martin Koorts10-Jan-05 5:27
Martin Koorts10-Jan-05 5:27 
Generalatomic clock and time zone programming Pin
mr_mark_hewitt9-Jan-05 20:32
mr_mark_hewitt9-Jan-05 20:32 
GeneralRe: atomic clock and time zone programming Pin
Martin Koorts9-Jan-05 23:04
Martin Koorts9-Jan-05 23:04 
GeneralDynamic Menu, WTL Pin
Johnny1239-Jan-05 19:41
Johnny1239-Jan-05 19:41 
GeneralChanging Button Style With WTL Pin
Johnny1238-Jan-05 20:28
Johnny1238-Jan-05 20:28 

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.