how to get rid of mouse pointer and focus button outlining

M

Martin M

Hello,

I am building an application to be used with touch screen, so there is no
keyboard to press a tab key or enter key. For this I would like to ask if
there is a way to suppress the dotted lines on a button when it gets or got
pressed. I tried to move the focus to another object in the event handler
routine but that is not very satisfying. Any other ways?
Also I see from time to time the mouse pointer after a touch tapping. Can
this be switched off somehow?

Thank you for any help

Martin
 
P

Paul G. Tobey [eMVP]

No, not without changing GWES itself. Why is it a problem? What sort of
mouse are you using? It seems like, if you're using a USB mouse, you might
not need keyboard support in the OS at all and it's just possible that this
would turn off the focus rectangle.

Paul T.
 
M

Martin M

Hello Paul,

thank you for your answer.
No, not without changing GWES itself.
What is the meaning of GWES?
Why is it a problem?
It is just an optical problem. When I make the buttons small so that they
are just a bit larger in height than the text the lines go into the text.
What sort of mouse are you using?
I don't want to use any mouse at all just the touch panel.

I will try to take out support for keyboard and maybe mouse and see what
happens.

Martin
 
P

Paul G. Tobey [eMVP]

GWES is the windowing system that can be made part of CE by the device OEM.
That is, it handles dispatching messages to windows, handling input and
dispatching that, drawing, etc., etc. It's not an item that the typical
Platform Builder user gets in source form.

That's the best suggestion I can make, other than the design one of "don't
make the buttons just barely big enough for the text". That's a general
recommendation anyway, as *any* internationalization of the application is
sure to make the text bigger.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top