/****************************************************************************\
*
* FILE: MDIChild.H
*
* PURPOSE: IconPro Project MDI Child Window handling header file
*
* COMMENTS: One CHILDWINDOWDATA struct defined below is attached
* to each MDI child window. It stores information about
* the listbox, the locations of drawing objects, and the
* icon resource associated with each window.
*
* Copyright 1995 - 1998 Microsoft Corp.
*
*
* History:
* July '95 - Created
*
\****************************************************************************/
/****************************************************************************/
// local #defines
// The ID for the listbox child window
#define ID_FORMAT_BOX102
/****************************************************************************/
/****************************************************************************/
// Local structs
// This struct is used to hold the data associated with an MDI window
typedef struct
{
HWNDhWndFormatListBox; // Window Handle for listbox
LPICONRESOURCElpIR; // pointer to icon resource
RECTBoxRect; // ListBox Window Rect
RECTDrawingRect; // Overall rect to draw in
RECTBlackRect, BlackTextRect; // for black bkgrnd & text
RECTWhiteRect, WhiteTextRect; // for white bkgrnd & text
RECTXORRect, XORTextRect; // for XOR mask & text
RECTANDRect, ANDTextRect; // for AND mask & text
RECTXORImageRect; // in which to draw OR mask
} CHILDWINDOWDATA, *LPCHILDWINDOWDATA;
/****************************************************************************/
/****************************************************************************/
// Exported function prototypes
LRESULT CALLBACK IconChildWndProc( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam );
/****************************************************************************/