MkeGroup.exe Creates Program Manager Groups/Items w/DDE

ID: Q103343


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) 3.1


SUMMARY

The MkeGroup.exe (Make Group) sample application demonstrates the ease of creating Microsoft(R) Windows(TM) Program Manager groups and items with dynamic data exchange (DDE).


MORE INFORMATION

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:


MkeGroup.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

The application displays a form from which the user can select a program group name (for example, Games) and a bunch of files. Clicking on the Make Group button either creates a new group with the specified name in the Program Manager or opens a group by that name, if one already exists. The application then creates program items in the group for each selected file.

Of course, the user can create groups and items manually using the Program Manager File New command or by dragging files from the File Manager to the Program Manager. However, as an added bonus, Mkegroup provides an Iterate button that scans all of the subdirectories below the current directory, looking for files that match the currently selected pattern (for example, *.EXE), and adds all matching files to the list of selected files.

For example, let's say you have a directory called C:\VB\VBSAMPLE on your hard disk that contains a subdirectory for each sample program you have written. If you want to create a program group that contains program items for all of the samples, open Mkegroup, select C:\VB\VBSAMPLE in the directory list box, and choose the Iterate button. This is much easier than opening each subdirectory individually.

Additional query words:

Keywords : kbfile kbsample kb16bitonly kbDDE kbNTOS kbWinOS kbshell kbGrpShell
Version : WINDOWS:3.1
Platform : WINDOWS
Issue type :


Last Reviewed: December 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.