Annotation of mstools/ole20/samples/outline/heading.h, revision 1.1

1.1     ! root        1: /*************************************************************************
        !             2: ** 
        !             3: **    OLE 2 Sample Code
        !             4: **    
        !             5: **    heading.c
        !             6: **    
        !             7: **    This file contains definitions used by OutlineDoc's row and
        !             8: **    column headings.
        !             9: **    
        !            10: **    (c) Copyright Microsoft Corp. 1992 - 1993 All Rights Reserved
        !            11: **
        !            12: *************************************************************************/
        !            13: 
        !            14: #define COLUMN 10
        !            15: 
        !            16: #define IDC_ROWHEADING 2000
        !            17: #define IDC_COLHEADING 2001
        !            18: #define IDC_BUTTON             2002
        !            19: 
        !            20: #define HEADING_FONT   "Arial"
        !            21: 
        !            22: #define COLUMN_LETTER  'A'
        !            23: 
        !            24: 
        !            25: typedef struct tagCOLHEADING {
        !            26:        HWND m_hWnd;
        !            27:        UINT m_uHeight;
        !            28: } COLHEADING, FAR* LPCOLHEADING;
        !            29: 
        !            30: typedef struct tagROWHEADING {
        !            31:        HWND m_hWnd;
        !            32:        UINT m_uWidth;
        !            33:        FARPROC    m_WndProc;
        !            34: } ROWHEADING, FAR* LPROWHEADING;
        !            35: 
        !            36: typedef struct tagHEADING {
        !            37:        COLHEADING m_colhead;
        !            38:        ROWHEADING m_rowhead;
        !            39:        HWND       m_hwndButton;
        !            40:        BOOL       m_fShow;
        !            41:        HFONT      m_hfont;
        !            42: } HEADING, FAR* LPHEADING;
        !            43: 
        !            44: BOOL Heading_Create(LPHEADING lphead, HWND hWndParent, HINSTANCE hInst);
        !            45: void Heading_Destroy(LPHEADING lphead);
        !            46: void Heading_Move(LPHEADING lphead, HWND hwndListBox, LPSCALEFACTOR lpscale);
        !            47: void Heading_Show(LPHEADING lphead, BOOL fShow);
        !            48: void Heading_ReScale(LPHEADING lphead, LPSCALEFACTOR lpscale);
        !            49: void Heading_CH_Draw(LPHEADING lphead, LPDRAWITEMSTRUCT lpdis, LPRECT lprcScreen, LPRECT lprcObject);
        !            50: void Heading_CH_SetHorizontalExtent(LPHEADING lphead, HWND hwndListBox);
        !            51: UINT Heading_CH_GetHeight(LPHEADING lphead, LPSCALEFACTOR lpscale);
        !            52: LRESULT Heading_CH_SendMessage(LPHEADING lphead, UINT msg, WPARAM wParam, LPARAM lParam);
        !            53: void Heading_CH_ForceRedraw(LPHEADING lphead, BOOL fErase);
        !            54: void Heading_RH_ForceRedraw(LPHEADING lphead, BOOL fErase);
        !            55: void Heading_RH_Draw(LPHEADING lphead, LPDRAWITEMSTRUCT lpdis);
        !            56: LRESULT Heading_RH_SendMessage(LPHEADING lphead, UINT msg, WPARAM wParam, LPARAM lParam);
        !            57: UINT Heading_RH_GetWidth(LPHEADING lphead, LPSCALEFACTOR lpscale);
        !            58: void Heading_RH_Scroll(LPHEADING lphead, HWND hwndListBox);
        !            59: LRESULT FAR PASCAL RowHeadWndProc(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.