Class Styles

Workplace Shell object classes have styles that define the behavior of all objects of that class. The object class style is defined by wpclsQueryStyle. When an object is created, the object's style is initially inherited from the class. The following table lists the class style flags:

┌──────────────────────────────┬──────────────────────────────┐
│Style Name                    │Description                   │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERCOPY            │Objects of this class cannot  │
│                              │be copied.                    │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERDELETE          │Objects of this class cannot  │
│                              │be deleted.                   │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERDRAG            │Objects of this class cannot  │
│                              │be dragged.                   │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERLINK            │Objects of this class cannot  │
│                              │have shadows.                 │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERMOVE            │Objects of this class cannot  │
│                              │be moved.                     │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERPRINT           │Objects of this class cannot  │
│                              │be printed.                   │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERRENAME          │Objects of this class cannot  │
│                              │be renamed.                   │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERSETTINGS        │Objects of this class cannot  │
│                              │be opened in Settings view.   │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERTEMPLATE        │This class does not have a    │
│                              │template. Also, objects of    │
│                              │this class will not have a    │
│                              │Create another option in their│
│                              │context menu.                 │
├──────────────────────────────┼──────────────────────────────┤
│CLSSTYLE_NEVERVISIBLE         │Objects of this class are     │
│                              │never visible.                │
└──────────────────────────────┴──────────────────────────────┘


[Back: General Characteristics Methods]
[Next: Object Styles]