Author |
Topic: ATL (Read 664 times) |
|
ATL
Guest
|
 |
ATL
« Thread started on: Mar 26th, 2011, 08:15am » |
|
How would you go back/forward in a ATL Container Control?
|
|
Logged
|
|
|
|
admin
Administrator
member is offline


Posts: 1145
|
 |
Re: ATL
« Reply #1 on: Mar 26th, 2011, 09:49am » |
|
on Mar 26th, 2011, 08:15am, Guest-ATL wrote:How would you go back/forward in a ATL Container Control? |
|
You would need to call the GoBack and GoForward methods of the IWebBrowser2 COM automation (ActiveX) interface:
http://msdn.microsoft.com/en-us/library/aa752127.aspx
Once you've got an interface pointer you should be able to do this from BB4W using the COMLIB library.
If you need more help, ask again.
Richard.
|
|
Logged
|
|
|
|
AT
Guest
|
 |
Re: ATL
« Reply #2 on: Mar 26th, 2011, 11:06am » |
|
Thanks Richard
|
|
Logged
|
|
|
|
ATL
Guest
|
 |
Re: ATL
« Reply #3 on: Mar 26th, 2011, 1:13pm » |
|
By the way, is there an example program?
|
|
Logged
|
|
|
|
admin
Administrator
member is offline


Posts: 1145
|
 |
Re: ATL
« Reply #4 on: Mar 27th, 2011, 10:14am » |
|
on Mar 26th, 2011, 1:13pm, Guest-ATL wrote:By the way, is there an example program? |
|
Sadly, I can't make it work. I've got an example program that accepts the GoHome method correctly, and navigates to the start page without problems. However both GoBack and GoForward crash it, and I haven't the foggiest idea why.
Richard.
|
|
Logged
|
|
|
|
ATL
Guest
|
 |
Re: ATL
« Reply #5 on: Apr 8th, 2011, 3:20pm » |
|
Oh dear...
|
|
Logged
|
|
|
|
|