Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > A serious challenge for a C++ guru
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 16th March 07:10
ajmayo
External User
 
Posts: 1
Default A serious challenge for a C++ guru


Microsoft very kindly make available a DLL (the browser helper DLL)
which allows you to trap and disable the context menu (right mouse
click) and various 'built-in' browser accelerators (such as ctrl+P
which brings up the print dialogue, and F5, which will refresh the
current page).

This is great, and I am duly grateful. However, using the helper DLL
does have a strange side-effect which is annoying our users, and if
anyone has an explanation, I'd be grateful.

What happens is this. If you have any contenteditable fields in your
page (and we have a *lot* of them

e.g

<span contenteditable>some editable stuff</span>

and you host this page inside Visual Basic using the standard browser
control

then without the browser helper DLL attached to the page you can press
the left mouse button and 'sweep' over the text to highlight it. This
is of course a standard piece of Windows behaviour.

Now attach the helper DLL. Now, you can no longer sweep across and
highlight text. Instead, nothing happens.

However, the keyboard still allows this e.g you can press HOME and
CTRL+END to highlight text.

I have tried running up Spy++ to see if somehow there's something
weird going on with message handling but can't pin it down. The DLL
source code doesn't seem to be screwing around with messages it didn't
ought to be handling.

Can anyone suggest a way of pinning down this rather strange problem?.
  Reply With Quote


  sponsored links


2 16th March 07:10
name
External User
 
Posts: 1
Default A serious challenge for a C++ guru


So much dll kindly c++ blaber.

Go there directly.
  Reply With Quote
3 16th March 07:10
roland hall
External User
 
Posts: 1
Default A serious challenge for a C++ guru


blabber

--
Roland

This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.
  Reply With Quote
4 16th March 07:10
ajmayo
External User
 
Posts: 1
Default A serious challenge for a C++ guru


I'll translate this as 'I think this is a C++ problem, you should go
talk to the C++ guys'. However, primarily, it is an IE problem and not
a C++ problem. However, thanks for the advice.
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666