I would like to disable the context menu of a Flash projector application. Unfortunately it's an older project and the source code is not available anyone. Therefore I'd like to know if there's e.g. a commandline parameter I could use to prohibit its use. Or are there any other I options I have? Basically I don't want the user to zoom, print or edit Flash player settings.
Load old swf in another swf and disable context menu in new swf.
Related
Is it possible to create custom windows features? for instance add new buttons to the start menu or maybe a button on the task bar like the Cortana button. Even add a new button to windows explorer. If it is can someone please point me in the right direction as google doesn't seem to return any helpful results
You can create custom widgets on the taskbar by creating a deskband shell extension.
Creating a button in the start menu or in other places that have no extension support requires major work and will often create a buggy/unstable result because you might have to inject yourself into the Explorer desktop process (and other processes on Windows 10).
I want to make a program that allows you to load higlighted textr from any app by right-clicking it and selecting the option in the context menu. I know it is posible in the windows 7 explorer, but I want to do it in any program, like in IE or Goolge Chrome or even Word.
Can it be done? If so, how?
I need to make minor modifications to a legacy Win32 application, but have no access to the original developer or source code. The application was not designed to be extended by third parties. What are my options for doing this?
The changes required are not extensive: I need to launch an external application when a specific text label is clicked.
Is it possible to access and modify the controls in the target application from an outside application?
What you are asking for can be accomplished by either using a SetWindowsHookEx() hook, or subclassing the label directly, to detect when the label is clicked. Your hook/subclass can then launch the external process.
If you need to react when a text is clicked, you could try to use the Microsoft UI Automation technology, and in this case, UI Automation Events.
Note that depending on how the application is written, it may or may not work.
You can try the cool Inspect and Accessible Event Watcher tools at least to check if its seems feasible.
I was wondering, if there's anything in NPAPI, which supports reading/writing user settings? Currently I use XPCOM, but I want to get rid of this code in order to support other browsers than Firefox.
I understand I can just read/write the file system (or registry on Windows) directly, but I want to explore other options - allowing the user edit these settings from the browser (e.g. about:config in FF) is, arguably, a better user experience than to direct him to edit some custom-made config files.
On the Mac plugins that need preferences sometimes ship a system preference pane with the plugin (and have a context menu item to open that pref pane), so that users have a UI for editing prefs. If there's not something similar for Windows and Linux you could always ship a small app that edits the prefs.
There is no such functionality in NPAPI.
I'd like to show another app's windows under my app's taskbar button. It's a background app that reports another process's windows as my app's own. Is there any universal way to do this, e.g. each "new" window, alert glow, progressmeter, and other taskbar features, show under my own app's button?
For example, Winfox runs under its own process and steals Firefox's windows. It also adds features, but that's irrelevant -- I just want to support another app's existing taskbar features under my own app's button -- multiple windows, progressmeter, alert flashing, error flashing, mini-icons, etc. Is there a near-universal way to steal an app, or is it largely app-specific? Thanks!
You should be able to use SetParent() to take ownership of a window, but I'm not sure how much this will help you in your attempt to add taskbar features to the legacy app.