Click here to Skip to main content
15,893,644 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.6K   1.2K   16  
An add-in for Devstudio that provides tag indexing and search, window, bookmarks, session and other managers
#if !defined(AFX_LINK_H__95B07379_3C7B_11D4_93EF_00C0DF25C7D9__INCLUDED_)
#define AFX_LINK_H__95B07379_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 CNode;
class CLinkPoints;

/////////////////////////////////////////////////////////////////////////////
// CLink wrapper class

class CLink : public COleDispatchDriver
{
public:
	CLink() {}		// Calls COleDispatchDriver default constructor
	CLink(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CLink(const CLink& 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);
	long GetArrowOrg();
	void SetArrowOrg(long);
	long GetArrowDst();
	void SetArrowDst(long);
	CNode GetOrg();
	void SetOrg(LPDISPATCH);
	CNode GetDst();
	void SetDst(LPDISPATCH);
	CLinkPoints GetExtraPoints();
	void SetExtraPoints(LPDISPATCH);
	long GetLinkStyle();
	void SetLinkStyle(long);
	CString GetKey();
	void SetKey(LPCTSTR);
	long GetInIndex();
	void SetInIndex(long);
	long GetOutIndex();
	void SetOutIndex(long);
	BOOL GetHidden();
	void SetHidden(BOOL);
	unsigned long GetDrawColor();
	void SetDrawColor(unsigned long);
	unsigned long GetForeColor();
	void SetForeColor(unsigned long);
	long GetUserData();
	void SetUserData(long);
	BOOL GetRigid();
	void SetRigid(BOOL);
	BOOL GetMarked();
	void SetMarked(BOOL);
	BOOL GetAdjustOrg();
	void SetAdjustOrg(BOOL);
	BOOL GetAdjustDst();
	void SetAdjustDst(BOOL);
	BOOL GetLogical();
	void SetLogical(BOOL);
	CString GetToolTip();
	void SetToolTip(LPCTSTR);
	long GetArrowMid();
	void SetArrowMid(long);
	BOOL GetOrthogonalDynamic();
	void SetOrthogonalDynamic(BOOL);

// Operations
public:
	void Reverse();
	BOOL EnsureVisible();
};

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

#endif // !defined(AFX_LINK_H__95B07379_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