Detect Settings Charm is Opened or Not in Windows Store Apps? - windows-8

I just want to know is that Any other way to get the Settings Charm is active or not.
Because, In my app, the Settings of an app is in the settings charm(If user presses Settings btn in App will leads to open Settings Charm)
In my case, Instead of using the settings btn. user may use short cut (WIN + C) (or) Moving the Mouse to the Right corner of the Screen. to enter into the settings pane means how could i know that?
Is that any way to find that????

Tap in to CommandsRequested on the SettingsPane
Occurs when the user opens the settings pane. Listening for this event lets the app
initialize the setting commands and pause its UI until the user closes the pane.
Now detecting that it's closed again would amount to checking that your window is again activated - see this thread.

Related

How to remove Desktop tab in KDE Plasma

I would like to remove the Desktop tab from KDE Plasma desktop environment and get rid of the context menu. Is there a way to do this ?
Hi Chris, Thanks for the reply. I am running KDE 4.14.8. I am not seeing what you are describing. The context menu is the menu when you right click on the desktop. I think you are calling it "desktop menu". My original snapshot show that menu. That menu changed depending what desktop theme I selected. I could not find anything call Configure Desktop. The closest thing to that would be Default Desktop Setting and there is not there about the Tweaks tab. The project that I am working on is kind of mission critical. It would be just a plain desktop without anything. The only thing the user can do is log on, does his job and log off. All the things that can distract the user will be removed. I got most of them except for this pesky toolbox.
To remove the toolbox:
right-click on desktop to get the desktop menu
select Configure Desktop, a dialog appears
switch to Tweaks tab
uncheck Show the desktop toolbox
You can also drag it to a corner (when widgets are unlocked), then it will not show the current activity name, but will still be accessible.

Mac development, objective-c: can I detect when user switch tasks like closing a window, activating to another window?

I am developing a desktop application that capture computer activities on mac osx using objective-c. I know it's possible to capture it when user presses on the keyboard and mouse position. But I don't know how to detect when user switches tasks on computer, like closing a window (of other applications), activating another window (of other applications)?
Does anyone have any experience in that?
Yes, via the Accessibility system. For example the NSAccessibilityMainWindowChangedNotification.

Disable On-Screen-Keyboard

I'm developing a Windows Store app for an embedded application where the only input device is a small touchscreen. For this reason I'm developing my own number and text entry controls that match the visual look of the application and work better on the small screen. Is it possible to prevent the Windows 8 on-screen keyboard from appearing when a textbox gets focus?
You can't, it's a user preference as of now.
Similar question is found here
From Hanselman
Unfortunately there is no checkbox or "just turn it off" way to
disable the keyboard with a supported option.
However, there is a way to effectively disable the keyboard by
stopping the service that controls it.
Press the Windows key + W Type "services," and press Enter Scroll down
to "Touch screen keyboard and handwriting panel" You can either right
click and "Stop" or you can double-click and change it from
"Automatic" startup to "Manual."

KDE and Multi-Monitor, how to have program started on the screen it was opened from

I have been trying KDE and customized it enough to my liking. I added panels and application launchers on each screen and windows opened shows on each screen panel.
But whenever I start an application either from the "start menu" or from the quick launch, it position on any screen.
Is there a way to have application started on the screen it was opened?
After spending too much time in settings, google, and Window Rules, I finally found my answer.
In System Settings -> Window Behavior -> Window Behavior -> Focus Tab
enable the box "Active screen follows mouse"

AIR modal screen

I am developing an AIR application where I need to display a Modal Window.
The screen should fill the entire desktop including the Task Bar.
If the user wants to exit the screen, he should press Windows+D option or activate Task Manager.
Can any one post some sample code?
To get rid of taskbar, switch to fullscreen mode with
stage.displayState = StageDisplayState.FULL_SCREEN;
User always can switch to another window with Alt-Tab (on Windows), AIR cannot "lock" screen to prevent that.
Try the example here
http://flex4fun.com/2010/12/01/flex4-popupmanager-example-change-modal-color-and-click-modal-close-popup/
PopUpManager.createPopUp(this, TitleWindow, true)
last argument makes the popup "modal".
http://docs.huihoo.com/flex/4/mx/managers/PopUpManager.html#createPopUp()