How can I keep a dropdown menu open when Dragon NaturallySpeaking's MouseGrid opens? I'm using C# and Windows 10. The MouseGrid overlays the desktop screen with the grid that allows the user to quickly jump to numbered quadrants. Some applications will keep the dropdown open when the overlay opens, but it seems that the C# applications created by Visual Studio close the menu as soon as the grid appears.
Best bet in that case is to not navigate with the Mouse Grid. What happens if you just say the choice, or start pressing arrow keys (say "press down arrow") or hitting the tab key to get to it?
You can try using mouse motion commands ("move mouse left") but the dropdown may also disappear. Or best to use an advanced scripting command to just click the spot you want. You don't say what version of Dragon you use so you might not have scripting ability. If that's the case, you can use Dragon to call an external script to do it (just put a shortcut on the desktop).
Related
I'm writing a screen shot app where I need to prevent the mouse over effect in all windows. For example, when hovering over a button or hyperlink they will often change color as a form of feedback. My goal is to take a screen shot where the user clicks without the additional feedback.
I can see two approaches:
Disable / ignore the system cursor and create my own. Allow it to fly around the screen without triggering any hover effects. Send a mouse_event when the user clicks using winuser.h
Use a semi-transparent topmost WPF window that allows clicks pass through to other windows. THis answer feels close, but does trigger hover over effects in other windows.
Option 1 is feasible, but I would need to also account for right clicking and scroll wheel.
Option 2 would be best if I could pass through the click event and not the mouse movement. Is this possible in WPF or should I roll my own cursor controls?
Thanks!
When I drag a window to the Top/Left/Right of screen, the window will be magnified or max automatically.
How to avoid system max or magnify this window when user drag it to specified area?
If you want to disable Snap, please follow this guide
To turn Snap on or off
Open the Make the keyboard easier to use page by clicking the Start
button Picture of the Start button, clicking Control Panel, clicking
Ease of Access, clicking Ease of Access Center, and then clicking Make
the keyboard easier to use.
Under Explore all settings, click Make the mouse easier to use.
Under Make it easier to manage windows, do one of the following:
To turn Snap off, select the Prevent windows from being automatically
arranged when moved to the edge of the screen check box.
To turn Snap on, clear the Prevent windows from being automatically
arranged when moved to the edge of the screen check box.
Click OK.
As I mentioned in the comment, please don't try to manipulate this through (application specific) code.
Thanks for everybody...
I make a trick in SizeChanged event.
When size is changed, application will re-size to original size...
I'm writing an application that needs to record a click location on the screen, over the top of another window using the mouse. Is there anyway to disable the mouse click so that it doesn't affect the window that is being clicked over?
e.g. I want to set a point over the top of my browser, but I don't want to click anything within my browswer whilst setting it.
You have a couple options:
Write a plugin/extension for the browser you're talking about. Maybe the browser's interface allows you to record such information
Use windows hooks. Using SetWindowsHookEx and WH_MOUSE_LL, you can get all mouse activity on the computer fairly simply. You will just need to check if the mouse activity is happening in the browser, using WindowFromPoint.
What I'm trying to do is creating an application which allows me to set desktop and taskbar icons as enabled/disabled. I just want to make them clickable only while pressing ctrl button otherwise they will be setted as disabled. Sometimes I may click wrong button mistakenly and it makes me crazy. (For example when I want to click eclipse shortcut I can click mssql shortcut unconsciously) Can I create an application like that with c# and If yes which library helps me?
I have a fullscreen application running on Windows CE 6.0 which will only be manipulated using the finger or a stylus.
So I don't need the mouse cursor, which I'm hiding using Cursor.Hide().
However, when I use the stylus to manipulate something on the screen, the mouse cursor is printed while the stylus touch the screen.
Is there a way to make the cursor not show when touching the screen?
BTW: the application will be the only thing running, so system-wide solution are possible, but I'd rather keep it inside the application.
For a system-wide solution, in case you can create the OS, you can remove the mouse cursor component from the catalog (SYSGEN_CURSOR).
For a local solution here is a suggestion (never tried it):
You can replace the icon with a blank icon so you won't see any cursor while inside your form. Once you leave the borders of your form you can restore the usual icon.
Read How to use custom cursors. I checked that the Cursor class is available with the CF. There are two other functions needed to be P/Invoked that are available under CE:
GetIconInfo
CreateIconIndirect