Click here to Skip to main content
15,881,757 members
Articles / Desktop Programming / MFC

Be Sweet - a set of visual source code browsers

Rate me:
Please Sign up or sign in to vote.
4.85/5 (35 votes)
1 Jul 20038 min read 183.6K   4.9K   122  
A set of source code and project browsers to compliment Visual Studio.
#if !defined(AFX_OUTLINEBROWSERPROPERTYPANEL_H__AE36C842_6100_47D4_9350_C994D6AC62B7__INCLUDED_)
#define AFX_OUTLINEBROWSERPROPERTYPANEL_H__AE36C842_6100_47D4_9350_C994D6AC62B7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OutlineBrowserPropertyPanel.h : header file
//
#include "OptionPage.h"

#include <string>

/////////////////////////////////////////////////////////////////////////////
// OutlineBrowserPropertyPanel dialog

namespace Browsers {

namespace Outline
{
  extern const std::string HOVERTIME;
  extern const std::string RAISECORNER;
  extern const std::string SHOW_RETURNTYPES;
  extern const std::string SHOW_HEADER_AND_SOURCE;
  extern const std::string SHOW_NAMESPACES;
}

class OutlinePropertyPanel : public COptionPage
{

public:
	OutlinePropertyPanel(); 

protected:
  virtual BOOL OnInitDialog();
  virtual BOOL OnApply();

  std::string getProperty(const std::string &, const std::string &);

  //{{AFX_DATA(Browsers::OutlinePropertyPanel)
	enum { IDD = IDD_OUTLINE_BROWSER_PROPERTIES_PANEL };
	CString	mHoverTime;
	BOOL	mShowReturnTypes;
	BOOL	mShowHeaderAndSource;
	BOOL	mShowNamespaces;
	//}}AFX_DATA

	//{{AFX_VIRTUAL(Browsers::OutlinePropertyPanel)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

protected:

	//{{AFX_MSG(Browsers::OutlinePropertyPanel)
	afx_msg void onPropertyChanged();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

} //namespace Browser

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

#endif // !defined(AFX_OUTLINEBROWSERPROPERTYPANEL_H__AE36C842_6100_47D4_9350_C994D6AC62B7__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
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions