Jump to content

WPObject: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Line 4: Line 4:
'''Note:''' This class is only an abstract superclass for subclasses. There should not be any objects of this class directly, but only of the subclasses.
'''Note:''' This class is only an abstract superclass for subclasses. There should not be any objects of this class directly, but only of the subclasses.


The immediate descendant classes of WPObject are WPAbstract, WPFileSystem, WPTransient and are called ''storage classes''. This descendant classes stores the object information in a persistent form.  
The immediate descendant classes of WPObject are [[WPAbstract]], [[WPFileSystem]], [[WPTransient]] and are called ''storage classes''. This descendant classes stores the object information in a persistent form.  


==Class definition file==
==Class definition file==
Line 16: Line 16:


==Instance methods==
==Instance methods==
Settings Notebook methods
Settings Notebook methods
* [[wpAddObjectGeneralPage]]
* [[wpAddObjectGeneralPage]]
* [[wpAddObjectGeneralPage2]]
* [[wpAddObjectGeneralPage2]]
Line 26: Line 24:


Save/Restore State methods
Save/Restore State methods
* [[wpRestoreData]]
* [[wpRestoreData]]
* [[wpRestoreLong]]
* [[wpRestoreLong]]
Line 39: Line 36:


Object Usage methods
Object Usage methods
* [[wpAddToObjUseList]]
* [[wpAddToObjUseList]]
* [[wpAssertObjectMutexSem]]
* [[wpAssertObjectMutexSem]]
Line 52: Line 48:


Pop-Up Menu methods
Pop-Up Menu methods
* [[wpAppendObject]]
* [[wpAppendObject]]
* [[wpClose]]
* [[wpClose]]
Line 83: Line 78:


Query and Set Object Information methods
Query and Set Object Information methods
* wpFindTaskRec
* wpFindTaskRec
* wpIdentify
* wpIdentify
Line 155: Line 149:


Setup/Cleanup methods
Setup/Cleanup methods
* wpFree
* wpFree
* wpInitData
* wpInitData
Line 209: Line 202:
Overridden methods:
Overridden methods:
* [[somClassReady]]
* [[somClassReady]]
* [[somNew ]]
* [[somNew]]
* [[somRenew]]
* [[somRenew]]


==Alternatives==
==Alternatives==
* XWorkplace created an derivative version called [[XFldrObject]].
* XWorkplace created an derivative version called [[XFldrObject]].


[[Category:The OS/2 API Project]]
[[Category:SOM Class]]

Revision as of 22:25, 17 November 2016

Description

This is the most fundamental WPS class, from which all other WPS classes are derived. This class contains functionality common to all classes.

Note: This class is only an abstract superclass for subclasses. There should not be any objects of this class directly, but only of the subclasses.

The immediate descendant classes of WPObject are WPAbstract, WPFileSystem, WPTransient and are called storage classes. This descendant classes stores the object information in a persistent form.

Class definition file

  • wpobject.idl

DLL

  • PMWP.DLL

Class hierarchy SOMObject

  • SOMObject

Instance methods

Settings Notebook methods

Save/Restore State methods

Object Usage methods

Pop-Up Menu methods

Query and Set Object Information methods

  • wpFindTaskRec
  • wpIdentify
  • wpModifyStyle
  • wpQueryButtonAppearance
  • wpQueryConcurrentView
  • wpQueryConfirmations
  • wpQueryContainerFlagPtr
  • wpQueryCoreRecord
  • wpQueryDefaultHelp
  • wpQueryDefaultIconPos
  • wpQueryDefaultView
  • wpQueryDetailsData
  • wpQueryFolder
  • wpQueryHandle
  • wpQueryIcon
  • wpQueryIconData
  • wpQueryMinWindow
  • wpQueryNameClashOptions
  • wpQueryObjectID
  • wpQueryScreenGroupID (Intel)
  • wpQueryStyle
  • wpQueryTrueStyle
  • wpQueryTitle
  • wpSetButtonAppearance
  • wpSetConcurrentView
  • wpSetDefaultHelp
  • wpSetDefaultIconPos
  • wpSetDefaultView
  • wpSetFolder
  • wpSetIcon
  • wpSetIconData
  • wpSetMinWindow
  • wpSetObjectID
  • wpSetStyle
  • wpSetTaskRec
  • wpSetTitle
  • wpViewObject

Error Handling methods

  • wpQueryError
  • wpSetError

Memory Management methods

  • wpAllocMem
  • wpFreeMem

Direct Manipulation methods

  • wpDraggedOverObject
  • wpDragOver
  • wpDrop
  • wpDroppedOnObject
  • wpEndConversation
  • wpFormatDragItem
  • wpRender
  • wpRenderComplete

Miscellaneous methods

  • wpCnrRefreshDetails
  • wpCnrRemoveObject
  • wpCnrSetEmphasis
  • wpConfirmDelete
  • wpConfirmObjectTitle
  • wpCopiedFromTemplate
  • wpDoesObjectMatch
  • wpFindViewItem
  • wpIsDeleteable
  • wpRegisterView
  • wpSwitchTo
  • wpWaitForClose

Setup/Cleanup methods

  • wpFree
  • wpInitData
  • wpScanSetupString
  • wpSetup
  • wpSetupOnce
  • wpUnInitData

wpSetup override by WPObject

SOMObject instance methods

Class methods

SOMClass methods

Overridden methods:

Alternatives

  • XWorkplace created an derivative version called XFldrObject.