WpAddToContent: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpAddToContent}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method adds an object to a folder's Content List. ==Syntax== _wpAddToContent(somSelf, Object); ==Parameters== ;''somSelf'' (WPFolder *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFolder. ;''Object'' (WPObject *) - input :Pointer to the object to be added to the folder's Conte..." |
(No difference)
|
Latest revision as of 22:41, 10 September 2025
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method adds an object to a folder's Content List.
Syntax
_wpAddToContent(somSelf, Object);
Parameters
- somSelf (WPFolder *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFolder.
- Object (WPObject *) - input
- Pointer to the object to be added to the folder's Content List.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE: Successful completion.
- FALSE: Error occurred.
How to Override
This method should be overridden to intercept the notification of the "Added an object to a folder" event for subclasses that define their own folder view. The parent must always be called.