BBC BASIC for Windows
« ATL »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:58pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: ATL  (Read 664 times)
ATL
Guest
xx ATL
« Thread started on: Mar 26th, 2011, 08:15am »

How would you go back/forward in a ATL Container Control?
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx 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.
User IP Logged

AT
Guest
xx Re: ATL
« Reply #2 on: Mar 26th, 2011, 11:06am »

Thanks Richard wink
User IP Logged

ATL
Guest
xx Re: ATL
« Reply #3 on: Mar 26th, 2011, 1:13pm »

By the way, is there an example program?
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx 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.
User IP Logged

ATL
Guest
xx Re: ATL
« Reply #5 on: Apr 8th, 2011, 3:20pm »

Oh dear... huh
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls