Tweak UI 1.33 for Windows 2000, Windows NT, Windows Millennium
Edition, Windows 98 or Windows 95.
Details at: (may wrap)
http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp
Download at:
http://www.microsoft.com/windowsme/guide/tweakui.exe
...Alan
--
Alan Edwards, MS MVP W95/98 Systems
--
Regards
Ron Badour, MS MVP W95/98 Systems
Making good newsgroup posts:
http://badour.freewebsites.com/assets/images/Gpost.zip
Tips: http://badour.freewebsites.com/index.html
Knowledge Base Info: http://support.microsoft.com/support/search/c.asp
No email support please--post to the group where others can benefit
"gail" <ga...@wizard.com> wrote in message
news:u0An9NFRAHA.297@cppssbbsa04...
Extending the New Submenu
When a user opens the File menu in Windows Explorer, the first command is
New. Selecting this command displays a submenu. By default, it contains two
commands, Folder and Shortcut, that allow users to create subfolders and
shortcuts. This submenu can be extended to include file creation commands
for any file class.
To add a file-creation command to the New submenu, your application's files
must have a file class associated with them. Include a ShellNew subkey under
the file extension key. When the File menu's New command is selected, the
shell will add it to the New submenu. The command's display string will be
the descriptive string that is assigned to the program's ProgID.
Assign one or more data values to the ShellNew subkey to specify the file
creation method. The available values follow.
Value Description
Command Executes an application. This is a REG_SZ value specifying the path
of the application to be executed. For example, you could set it to launch a
wizard.
Data Creates a file containing specified data. Data is a REG_BINARY value
with the file's data. Data is ignored if either NullFile or FileName is
specified.
FileName Creates a file that is a copy of a specified file. FileName is a
REG_SZ value, set to the fully qualified path of the file to be copied.
NullFile Creates an empty file. NullFile is not assigned a value. If
NullFile is specified, Data and FileName are ignored.
The following illustration shows the New submenu for the .myp file class
used as an example in Creating a File Association and Customizing Icons. It
now has a command, MyProgram Application. When a user selects MyProgram
Application from the New submenu, the shell creates a file named "New
MyProgram Application.myp" and passes it to MyProgram.exe.
The registry entry is now as follows:
HKEY_CLASSES_ROOT
.myp=MyProgram.1
ShellNew=NULLFILE
...
MyProgram.1=MyProgram Application
DefaultIcon=C:\MyDir\MyProgram.exe,2
shell=doit
open
command=C:\MyDir\MyProgram.exe "%1"
doit="&Do It"
command=C:\MyDir\MyProgram.exe /d "%1"
print
command=C:\MyDir\MyProgram.exe /p "%1"
printto
command=C:\MyDir\MyProgram.exe /p "%1" "%2" %3 %4
--
_____________________
David Candy
www.mvps.com/serenitymacros
"gail" <ga...@wizard.com> wrote in message
news:u0An9NFRAHA.297@cppssbbsa04...