Some favorite site feeds aggregated locally: iPhone Development RSS   Adobe Labs RSS   Macrumors RSS

Tuesday, January 29, 2008

No right-click menu? Change container menu?

Tuesday, January 29, 2008   

Have you ever wanted to remove the right-click from a Flash projector? Or perhaps change the labels of the menu items themselves?

I bumped into information about a tool (Google is crazy sometimes) that seems like it can do this quite easily.

The application is called Resource Hacker, and its not limited to Flash projectors. I am not linking to it, but you can find it easily enough.
Resource Hacker™ is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Win95, Win98, WinME, WinNT, Win2000 and WinXP operating systems.

Viewing Resources: Cursor, Icon, Bitmap, GIF, AVI, and JPG resource images can be viewed. WAV and MIDI audio resources can be played. Menus, Dialogs, MessageTables, StringTables, Accelerators, Delphi Forms, and VersionInfo resources can be viewed as decompiled resource scripts. Menus and Dialogs can also be viewed as they would appear in a running application.

Saving Resources: Resources can be saved as image files (*.ico, *.bmp etc), as script files (*.rc), as binary resource files (*.res), or as untyped binary files (*.bin).

Modifying Resources: Resources can be modified by replacing the resource with a resource located in another file (*.ico, *.bmp, *.res etc) or by using the internal resource script compiler (for menus, dialogs etc). Dialog controls can also be visually moved and/or resized by clicking and dragging the respective dialog controls prior to recompiling with the internal compiler.

Adding Resources: Resources can be added to an application by copying them from external resource files (*.res).

Deleting Resources: Most compilers add resources into applications which are never used by the application. Removing unused resources can reduce an application's size.

Last Updated: 24 March 2002 Version: 3.4.0

If you remove only the english menu resource, the next in the list is used, so if you remove them all for the right-click menu, you kill the right-click menu altogether. Well, sort of. It will be called, there just won't be anything to display.

You can tweak all kinds of things, but I AM NOT SAYING you should do this. I found it interesting is all. I personally don't have any need for something like this.
 Return to the main page

There are currently 0 Comments:

 Leave a comment