Click here to Skip to main content
15,891,375 members
Articles / Programming Languages / C++

Useful Managers

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
11 Aug 2001 80.5K   1.2K   16  
An add-in for Devstudio that provides tag indexing and search, window, bookmarks, session and other managers
#if !defined(AFX_NODE_H__95B0737B_3C7B_11D4_93EF_00C0DF25C7D9__INCLUDED_)
#define AFX_NODE_H__95B0737B_3C7B_11D4_93EF_00C0DF25C7D9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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 COleFont;
class CPicture;
class CLinks;

/////////////////////////////////////////////////////////////////////////////
// CNode wrapper class

class CNode : public COleDispatchDriver
{
public:
	CNode() {}		// Calls COleDispatchDriver default constructor
	CNode(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CNode(const CNode& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	CString GetText();
	void SetText(LPCTSTR);
	CString GetTag();
	void SetTag(LPCTSTR);
	BOOL GetSelected();
	void SetSelected(BOOL);
	BOOL GetSelectable();
	void SetSelectable(BOOL);
	long GetZOrder();
	void SetZOrder(long);
	COleFont GetFont();
	void SetFont(LPDISPATCH);
	float GetDrawWidth();
	void SetDrawWidth(float);
	long GetDrawStyle();
	void SetDrawStyle(long);
	CPicture GetPicture();
	void SetPicture(LPDISPATCH);
	long GetAlignment();
	void SetAlignment(long);
	long GetAutoSize();
	void SetAutoSize(long);
	long GetShape();
	void SetShape(long);
	float GetLeft();
	void SetLeft(float);
	float GetTop();
	void SetTop(float);
	float GetWidth();
	void SetWidth(float);
	float GetHeight();
	void SetHeight(float);
	long GetIndex();
	void SetIndex(long);
	CLinks GetInLinks();
	void SetInLinks(LPDISPATCH);
	CLinks GetOutLinks();
	void SetOutLinks(LPDISPATCH);
	CString GetKey();
	void SetKey(LPCTSTR);
	CLinks GetLinks();
	void SetLinks(LPDISPATCH);
	BOOL GetHidden();
	void SetHidden(BOOL);
	BOOL GetTransparent();
	void SetTransparent(BOOL);
	unsigned long GetFillColor();
	void SetFillColor(unsigned long);
	unsigned long GetDrawColor();
	void SetDrawColor(unsigned long);
	unsigned long GetForeColor();
	void SetForeColor(unsigned long);
	long GetUserData();
	void SetUserData(long);
	BOOL GetMarked();
	void SetMarked(BOOL);
	long GetPicturePosition();
	void SetPicturePosition(long);
	CString GetToolTip();
	void SetToolTip(LPCTSTR);
	BOOL GetLogical();
	void SetLogical(BOOL);
	short GetShapeOrientation();
	void SetShapeOrientation(short);
	BOOL GetMoveable();
	void SetMoveable(BOOL);
	BOOL GetSizeable();
	void SetSizeable(BOOL);
	BOOL GetXScrollable();
	void SetXScrollable(BOOL);
	BOOL GetYScrollable();
	void SetYScrollable(BOOL);

// Operations
public:
	CNode GetLinkedNode(LPDISPATCH link);
	BOOL EnsureVisible();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NODE_H__95B0737B_3C7B_11D4_93EF_00C0DF25C7D9__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Russian Federation Russian Federation
Mike has been programming in C/C++ for 11 years and Visual C++/MFC for 4 years. His background includes pure and applied mathematics, engineering and physics, and he is currently based in Moscow, Russia.

Comments and Discussions