forked from mcneel/rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRpcFileDlg.h
43 lines (31 loc) · 940 Bytes
/
RpcFileDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#pragma once
#include "LBPPreviewingFileDialog.h"
class CRpcFileDlg : public CLBPPreviewingFileDialog
{
public:
CRpcFileDlg(BOOL bOpenFileDialog, LPCTSTR lpszDefExt = NULL, LPCTSTR lpszFileName = NULL,
DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, LPCTSTR lpszFilter = NULL,
CWnd* pParentWnd = NULL);
virtual ~CRpcFileDlg(void);
protected:
virtual BOOL OnInitDialog();
public:
virtual HINSTANCE ResourceInstance() const;
virtual DWORD ResourceID(DWORD dwWhich) const;
};
class CRpcAdvancedFileDialog : public CRpcFileDlg
{
public:
CRpcAdvancedFileDialog(CWnd* pParent);
bool Advanced(void) const { return m_bAdvanced; }
protected:
virtual BOOL OnInitDialog();
protected:
afx_msg void OnAdvancedButtonClicked();
afx_msg void OnSize(UINT nType, int cx, int cy);
DECLARE_MESSAGE_MAP()
void SetAdvancedButtonPosition(void);
private:
CRhinoUiBitmapButton m_button_advanced;
bool m_bAdvanced;
};