RE: hide cursor for kiosk application (powerpoint)
- From: lockness <lockness@xxxxxxxxxxxxxxxx>
- Date: Tue, 15 May 2007 05:30:00 -0700
Hi LL
The app is to run on a kiosk with a touchscreen. There is no mouse control.
When the user touches the screen this is equivalent to a mouse click.
It does not look good to have a mouse pointer on screen in this situation.
You do seem to have recreated the problem correctly.
I'm new to windows development and the associated tools.
I've just been experimenting with spy++ myself for a related problem
using powerpoint via interop instead of the webbrowser control.
You mention in your reply you were able to get the handle of the slideshow:
paneClassDC "Slide Show"
This is exactly what I've been trying for the last few hours so I can
then use the handle with SetForegroundWindow(hndl) to ensure the slideshow
is on top.
So far my attempts with hndl = FindWindow("paneClassDC", "Slide Show")
and other variations have failed. If you could explain how you got the
handle that would greatly help although I realize it's a differrent issue to
the one I've raised.
Thanks
M.
"Linda Liu [MSFT]" wrote:
Hi,.
Based on my understanding, you use a WebBrowser control to display
PowerPoint document and you'd like to hide the cursor on the WebBrowser. If
I'm off base, please feel free to let me know.
I have spent several hours on this issue but haven't found a solution yet.
In my test, I call the Cursor.Hide method to hide the cursor. When I move
the pointer on the WebBrowser, I did see that the cursor comes back.
I use Spy++ to watch the application, and see that there're several child
windows in the WebBrowser. The class and window names of these child
windows are as follows:
Shell Embedding ""
Shell DocObject View ""
childClass ""
childClass "PowerPoint Slide
Show-[PPT1.ppt[Read-Only][Compatibility Mode]]"
paneClassDC "Slide Show"
I watch the messages of the paneClassDC "Slide Show" window. When I move
the pointer on the WebBrowser, Spy++ catches the WM_SETCURSOR and
WM_MOUSEMOVE messages.
It seems that it's the paneClassDC "Slide Show" window that captures the
cursor and show it.
I have managed to get the handle of the paneClassDC window, but I haven't
worked out how to prevent the paneClassDC window from showing the cursor
until now.
BTW, could you tell me why you'd like to hide the cursor on the WebBrowser
when displaying PowerPoint document?
I will go on the research and will get the result back to you ASAP.
I appreciate your patience!
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: hide cursor for kiosk application (powerpoint)
- From: Linda Liu [MSFT]
- RE: hide cursor for kiosk application (powerpoint)
- References:
- RE: hide cursor for kiosk application (powerpoint)
- From: Linda Liu [MSFT]
- RE: hide cursor for kiosk application (powerpoint)
- Prev by Date: RE: hide cursor for kiosk application (powerpoint)
- Next by Date: Re: Detach Application.ThreadException Event, really?
- Previous by thread: RE: hide cursor for kiosk application (powerpoint)
- Next by thread: RE: hide cursor for kiosk application (powerpoint)
- Index(es):
Relevant Pages
|
|