Debian Codegraph @

RSPiX/Src/ORANGE/MFC_Cntl/MFCool.h

raw
1 ////////////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright 2016 RWS Inc, All Rights Reserved
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of version 2 of the GNU General Public License as published by
7 // the Free Software Foundation
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License along
15 // with this program; if not, write to the Free Software Foundation, Inc.,
16 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 //
18 #ifndef MFCOOL_H
19 #define MFCOOL_H
20
21 ///////////////////////////////////////////////////////////////////////////////
22 // Includes.
23 ///////////////////////////////////////////////////////////////////////////////
24
25 ///////////////////////////////////////////////////////////////////////////////
26 // Macros.
27 ///////////////////////////////////////////////////////////////////////////////
28
29 ///////////////////////////////////////////////////////////////////////////////
30 // Typedefs.
31 ///////////////////////////////////////////////////////////////////////////////
32
33 ///////////////////////////////////////////////////////////////////////////////
34 // Protos.
35 ///////////////////////////////////////////////////////////////////////////////
36 // Associates all icon style buttons that are children of pdlg with the icon
37 // specified by the window text of that button.
38 // Returns 0 on success.
39 extern int16_t Iconize(CDialog* pdlg);
40
41 // Store position of this window in the module's INI.
42 // Returns 0 on success.
43 extern int16_t StorePosition(CWnd* pwnd);
44
45 // Restore position of this window from the module's INI. No change if no
46 // settings stored.
47 // Returns 0 on success.
48 extern int16_t RestorePosition(CWnd* pwnd);
49
50 ///////////////////////////////////////////////////////////////////////////////
51 // EOF
52 ///////////////////////////////////////////////////////////////////////////////
53 #endif // MFCOOL_H