root / trunk / win / Libdlg.h

Revision 450, 1.3 kB (checked in by leo, 3 years ago)

Show piece numbers and a few small fixes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#ifndef _LIBDLG_H_
2#define _LIBDLG_H_
3
4class PieceInfo;
5
6class CLibraryDlg : public CDialog
7{
8// Construction
9public:
10    CLibraryDlg(CWnd* pParent = NULL);   // standard constructor
11    virtual ~CLibraryDlg();
12
13// Dialog Data
14    //{{AFX_DATA(CLibraryDlg)
15    enum { IDD = IDD_LIBRARY };
16    CTreeCtrl   m_Tree;
17    CListCtrl   m_List;
18    //}}AFX_DATA
19
20
21// Overrides
22    // ClassWizard generated virtual function overrides
23    //{{AFX_VIRTUAL(CLibraryDlg)
24    protected:
25    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
26    virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
27    //}}AFX_VIRTUAL
28
29// Implementation
30public:
31    void EnableControl(UINT nID, BOOL bEnable);
32    BOOL ContinueModal();
33    void UpdateTree();
34    void UpdateList();
35
36    CToolBar m_wndToolBar;
37    CImageList m_TreeImages;
38    int m_SortColumn;
39
40protected:
41    // Generated message map functions
42    //{{AFX_MSG(CLibraryDlg)
43    virtual BOOL OnInitDialog();
44    afx_msg void OnSelChangedTree(NMHDR* pNMHDR, LRESULT* pResult);
45    virtual void OnCancel();
46    virtual void OnOK();
47    afx_msg void OnListColumnClick(NMHDR* pNMHDR, LRESULT* pResult);
48    //}}AFX_MSG
49
50    afx_msg BOOL OnToolTipText(UINT, NMHDR* pNMHDR, LRESULT* pResult);
51
52    DECLARE_MESSAGE_MAP()
53};
54
55//{{AFX_INSERT_LOCATION}}
56// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
57
58#endif // _LIBDLG_H_
Note: See TracBrowser for help on using the browser.