Click here to Skip to main content
15,885,309 members
Articles / Desktop Programming / MFC

How to implement a scrollable child dialog

Rate me:
Please Sign up or sign in to vote.
4.96/5 (52 votes)
11 May 2003Public Domain1 min read 252.7K   9.4K   87  
How to implement a scrollable child dialog
// P01.h : main header file for the P01 application
//

#if !defined(AFX_P01_H__E435A5AA_BD38_4CE5_AAA0_09E4C4ED1A32__INCLUDED_)
#define AFX_P01_H__E435A5AA_BD38_4CE5_AAA0_09E4C4ED1A32__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CP01App:
// See P01.cpp for the implementation of this class
//

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

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

// Implementation

	//{{AFX_MSG(CP01App)
		// 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()
};


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

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

#endif // !defined(AFX_P01_H__E435A5AA_BD38_4CE5_AAA0_09E4C4ED1A32__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, along with any associated source code and files, is licensed under A Public Domain dedication


Written By
Software Developer (Senior) Leonardo
Italy Italy
Hi Smile | :)
I was born in 1970 (Augusta - Italy).
I live in Taranto - Italy.
I work in Taranto - Italy.
I like computer science!!!
That's all!

Comments and Discussions