home *** CD-ROM | disk | FTP | other *** search
- /*
- MFCWND.H -
-
- This file:
-
- Declares CWINDOW that contains a CListBox and a CStatic.
-
- (C) Copyright 1988-1994 by Autodesk, Inc.
-
- This program is copyrighted by Autodesk, Inc. and is licensed
- to you under the following conditions. You may not distribute
- or publish the source code of this program in any form. You
- may incorporate this code in object form in derivative works
- provided such derivative works are (i.) are designed and
- intended to work solely with Autodesk, Inc. products, and
- (ii.) contain Autodesk's copyright notice "(C) Copyright
- 1988-1994 by Autodesk, Inc."
-
- AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
- AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF MER-
- CHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
- DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
- UNINTERRUPTED OR ERROR FREE.
-
- */
- #ifndef _MFCWND_H_
- #define _MFCWND_H_
-
- #include <afxwin.h>
- #include <strstrea.h>
-
- #include "adsinc.h"
-
- //-----------------------------------------------------------------------------
- const int LIST=100;
- const int LABEL=101;
-
- //-----------------------------------------------------------------------------
- class CWINDOW : public CFrameWnd
- {
- CListBox *list;
- CStatic *label;
- ads_name entity_name;
-
- public:
- ads_name *GetEntityName( ads_name* dst )
- {
- (*dst)[ 0 ] = entity_name[ 0 ];
- (*dst)[ 1 ] = entity_name[ 1 ];
- return dst;
- }
- CWINDOW();
- ~CWINDOW();
- afx_msg void OnSize( UINT nFlags,int cx, int cy );
- afx_msg void HandleSelchange();
- afx_msg void HandleDblclk();
-
- DECLARE_MESSAGE_MAP()
- };
-
-
- #endif
-