home *** CD-ROM | disk | FTP | other *** search
- #ifndef __BRANCH_H__
- #define __BRANCH_H__
-
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- // Dispatch interfaces referenced by this interface
- class CPicture;
-
- /////////////////////////////////////////////////////////////////////////////
- // CBranch wrapper class
-
- class CBranch : public COleDispatchDriver
- {
- public:
- CBranch() {} // Calls COleDispatchDriver default constructor
- CBranch(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
- CBranch(const CBranch& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
-
- // Attributes
- public:
- CString GetText();
- void SetText(LPCTSTR);
- long GetData();
- void SetData(long);
- short GetLevel();
- void SetLevel(short);
- BOOL GetIsOpen();
- void SetIsOpen(BOOL);
- short GetStandardItemPicture();
- void SetStandardItemPicture(short);
- CPicture GetCustomItemPicture();
- void SetCustomItemPicture(LPDISPATCH);
-
- // Operations
- public:
- void Clear();
- CBranch Add(short relationship, short relative, LPCTSTR text);
- CBranch Get(short relationship, short relative);
- void Remove();
- void Lock();
- void Unlock();
- BOOL IsLocked();
- BOOL IsValid();
- BOOL IsMainBranch();
- void Open(short cmd);
- void Close(short cmd);
- void Select(short cmd);
- long GetHandle();
- };
-
- #endif // __BRANCH_H__
-