Click here to Skip to main content
15,897,187 members
Articles / Desktop Programming / MFC

CYABFFW: Yet Another BrowseForFolder Wrapper

Rate me:
Please Sign up or sign in to vote.
2.97/5 (10 votes)
12 Jun 20073 min read 73.1K   1.2K   11  
Yet another wrapper for the ::BrowseForFolder function
#ifndef YABFFW_DEMO_H_B25F4E74_FFB2_4100_B442_B743146FBAD6
#define YABFFW_DEMO_H_B25F4E74_FFB2_4100_B442_B743146FBAD6
/**
 * \file yabffw_demo.h
 *
 * \brief Project header file for the YABFFW demo
 *
 * $Id: yabffw_demo.h,v 1.3 2007/06/10 18:40:38 mgh Exp $
 *
 *
 * Copyright (C) 2003-2007 Michael G. Herstine <sp1ff@pobox.com>
 *
 * Permission to use, copy, or  modify this source code is hereby
 * granted free  of charge,  provided that this  copyright notice
 * appear on all copies and  on all source code derived from this
 * code.  No representation is  made regarding the suitability of
 * this software for any purpose.  It is provided "as is" without
 * express or implied warranty.
 *
 *
 */


#ifndef STDAFX_H_A6207C03_3B23_4823_BC30_4088F15F3A93
# error "You must include 'StdAfx.h' before this file for PCH!"
#endif  // not StdAfx.h

#ifndef RESOURCE_H_INCLDUDED
# include "Resource.h"
# define RESOURCE_H_INCLUDED
#endif  // not RESOURCE_H_INCLUDED


/**
 * \brief Application class for the YABFFW Demo app
 *
 *
 */

class CYABFFWDemoApp : public CWinApp
{
public:
  CYABFFWDemoApp();

  // Overrides
  // ClassWizard generated virtual function overrides
  //{{AFX_VIRTUAL(CYABFFWDemoApp)
public:
  virtual BOOL InitInstance();
  //}}AFX_VIRTUAL

  // Implementation

  //{{AFX_MSG(CYABFFWDemoApp)
  // NOTE - the ClassWizard will add and remove member functions
  // here.  DO NOT EDIT what you see in these blocks of generated
  // code !
  //}}AFX_MSG

  DECLARE_MESSAGE_MAP();


};


/////////////////////////////////////////////////////////////////


#ifdef _DEBUG

# define ASSERT_NULL_OR_VALID(pOb) \
  {if (NULL!= pOb) ::AfxAssertValidObject(pOb, THIS_FILE, __LINE__);}

#else  // not _DEBUG

# define ASSERT_NULL_OR_VALID(pOb)

#endif // _DEBUG


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


// Local Variables:
// fill-column: 65
// indent-tabs-mode: nil
// show-trailing-whitespace: t
// End:

#endif // YABFFW_DEMO_H_B25F4E74_FFB2_4100_B442_B743146FBAD6

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
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions