CApaSystemControl Class Reference

#include <mw/apgctl.h>

Link against: apgrfx.lib

class CApaSystemControl : public CBase, public CBase

Inherits from

Detailed Description

Wrapper to a control panel application.

An instance of the class represents a control panel application. It is also a cache for the control's icon and caption.

An instance of the wrapper can only be constructed by the control panel application list, which is a CApaSystemControlList object.

Member Function Documentation

Caption ( )

IMPORT_C TPtrCCaption()const

Gets the control's caption.

Return Value
A non-modifiable pointer descriptor representing the control's caption.

CreateL ( )

IMPORT_C voidCreateL()

FileName ( )

IMPORT_C TFileNameFileName()const

Gets the full path name of the control.

Return Value
The full path name.

Icon ( )

IMPORT_C CApaMaskedBitmap *Icon()const

Gets the control's icon.

Return Value
The icon bitmap.

ShortCaption ( )

IMPORT_C TPtrCShortCaption()const

Gets the control's short caption.

Return Value
A non-modifiable pointer descriptor representing the control's short caption.

Type ( )

IMPORT_C TUidType()const

Gets the UID that uniquely identifies the control.

Return Value
The UID.