i'm using wxWebView in a project with "real" browser functionality,
meaning the user can navigate live webpages. I manage my own bookmarks
and have my own gui for them. But when rightclicking into a webpage or
pressing Ctrl-D, the user can add a bookmark to the browser-internal
bookmarks.
So i'd need one of two things:
a) catch/block/disable these browser internal functions, so that the
user can only add bookmarks using my own gui (this would be my
prefered solution, because it's the least amount of work for me).
b) get a notification if a new bookmark is added and access to the
browser bookmarks
Any way to do one of these?
Thanks.
Eric
-- replace .local with .de to reply to my email address
On 25 October 2012 06:01, Eric Jensen <m...@j-dev.de> wrote:
> i'm using wxWebView in a project with "real" browser functionality,
I always like to hear of people using wxWebView, it certainly seems to
be getting a decent amount of use at the moment.
> meaning the user can navigate live webpages. I manage my own bookmarks
> and have my own gui for them. But when rightclicking into a webpage or
> pressing Ctrl-D, the user can add a bookmark to the browser-internal
> bookmarks.
Are you using the IE backend for this?
> So i'd need one of two things:
> a) catch/block/disable these browser internal functions, so that the
> user can only add bookmarks using my own gui (this would be my
> prefered solution, because it's the least amount of work for me).
This would be my preferred option, it makes the back ends more
consistent. I can't get Ctrl-D to do anything in the sample for me,
which version of IE do you have installed locally? I know vadz was
looking at the context menu stuff a while ago, not sure what the
conclusion was. I think it is basically easy to add a method to
disable it altogether for the various back ends but it is more complex
if you want to customise them.
Thursday, October 25, 2012, 11:07:49 AM, you wrote:
>> i'm using wxWebView in a project with "real" browser functionality,
SL> I always like to hear of people using wxWebView, it certainly seems to
SL> be getting a decent amount of use at the moment.
It was definitely an important addition to wxWidgets. Thanks for that.
>> pressing Ctrl-D, the user can add a bookmark to the browser-internal
>> bookmarks.
SL> Are you using the IE backend for this?
I have to admit, i didn't even try it, i just assumed it would work.
But it doesn't, so forget aboout that - my bad.
>> a) catch/block/disable these browser internal functions, so that the
>> user can only add bookmarks using my own gui (this would be my
>> prefered solution, because it's the least amount of work for me).
SL> This would be my preferred option, it makes the back ends more
SL> consistent. I can't get Ctrl-D to do anything in the sample for me,
SL> which version of IE do you have installed locally? I know vadz was
SL> looking at the context menu stuff a while ago, not sure what the
SL> conclusion was. I think it is basically easy to add a method to
SL> disable it altogether for the various back ends but it is more complex
SL> if you want to customise them.
Just disabling the context menu would be perfect for me.
On Thursday, October 25, 2012 10:31:29 AM UTC+1, Eric Jensen wrote: > Thursday, October 25, 2012, 11:07:49 AM, you wrote: > SL> This would be my preferred option, it makes the back ends more > SL> consistent. I can't get Ctrl-D to do anything in the sample for me, > SL> which version of IE do you have installed locally? I know vadz was > SL> looking at the context menu stuff a while ago, not sure what the > SL> conclusion was. I think it is basically easy to add a method to > SL> disable it altogether for the various back ends but it is more complex > SL> if you want to customise them. > Just disabling the context menu would be perfect for me.
I added a basic patch to do this for IE to #14789.
SL> On Thursday, October 25, 2012 10:31:29 AM UTC+1, Eric Jensen wrote:
>> Thursday, October 25, 2012, 11:07:49 AM, you wrote: >> SL> This would be my preferred option, it makes the back ends more >> SL> consistent. I can't get Ctrl-D to do anything in the sample for me,
>> SL> which version of IE do you have installed locally? I know vadz was
>> SL> looking at the context menu stuff a while ago, not sure what the
>> SL> conclusion was. I think it is basically easy to add a method to
>> SL> disable it altogether for the various back ends but it is more complex
>> SL> if you want to customise them. >> Just disabling the context menu would be perfect for me.
SL> I added a basic patch to do this for IE to #14789.