MFCool.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. // Includes.
  22. ///////////////////////////////////////////////////////////////////////////////
  23. ///////////////////////////////////////////////////////////////////////////////
  24. // Macros.
  25. ///////////////////////////////////////////////////////////////////////////////
  26. ///////////////////////////////////////////////////////////////////////////////
  27. // Typedefs.
  28. ///////////////////////////////////////////////////////////////////////////////
  29. ///////////////////////////////////////////////////////////////////////////////
  30. // Protos.
  31. ///////////////////////////////////////////////////////////////////////////////
  32. // Associates all icon style buttons that are children of pdlg with the icon
  33. // specified by the window text of that button.
  34. // Returns 0 on success.
  35. extern short Iconize(CDialog* pdlg);
  36. // Store position of this window in the module's INI.
  37. // Returns 0 on success.
  38. extern short StorePosition(CWnd* pwnd);
  39. // Restore position of this window from the module's INI. No change if no
  40. // settings stored.
  41. // Returns 0 on success.
  42. extern short RestorePosition(CWnd* pwnd);
  43. ///////////////////////////////////////////////////////////////////////////////
  44. // EOF
  45. ///////////////////////////////////////////////////////////////////////////////
  46. #endif // MFCOOL_H