wpQueryNameClashOptions
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method returns the options that will not be available on the name clash dialog.
Syntax
_wpQueryNameClashOptions(somSelf,
menuID)
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
- menuID (ULONG) - input
- Menu ID of selected menu item that caused name clash options to be queried.
- For a listing of WPMENUIDs, see the individual object classes.
Returns
- ulNameClash (ULONG) - returns
- Flag indicating options that are to be unavailable.
- Possible values are described in the following list:
- **NO_NAMECLASH_RENAME** Renames are not allowed.
- **NO_NAMECLASH_DIALOG** Dialogs are not shown.
- **NO_NAMECLASH_APPEND** Appends are not allowed.
- **NO_NAMECLASH_REPLACE** Replacements are not allowed.
How to Override
This method is generally not overridden.
Usage
This method is not covered in the provided text.
Remarks
This method is not covered in the provided text.
Example Code
#define INCL_WINWORKPLACE
#include <os2.h>
WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG menuID; /* Menu ID of selected menu item that caused name clash options to be queried. */
ULONG ulNameClash; /* Flag indicating options that are to be unavailable. */
ulNameClash = _wpQueryNameClashOptions(somSelf,
menuID);
Related Methods
This method is not covered in the provided text.