From 51d59e6f7f45b8f4a60d2933e50bb8ee0c2ea20d Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 03 Feb 2006 01:05:14 +0000 Subject: made main window resizable git-svn-id: http://svn.klever.net/kin/pumpkin/trunk@146 fe716a7a-6dde-0310-88d9-d003556173a8 --- (limited to 'PumpKINDlg.h') diff --git a/PumpKINDlg.h b/PumpKINDlg.h index b247c56..c5469f1 100644 --- a/PumpKINDlg.h +++ b/PumpKINDlg.h @@ -367,6 +367,13 @@ class CPumpKINDlg : public CDialog { // Construction public: + void AdjustButton(CWnd& w,CRect& wrc); + void RecalcLayout(int,int); + CSize m_MinSize; + UINT m_bottomGapLog; + UINT m_bottomGapListen; + UINT m_rightGapList; + UINT m_rightGapButtons; CString m_lastlogerr; void LogLine(LPCTSTR str); CString m_LogFile; @@ -430,6 +437,10 @@ public: // Dialog Data //{{AFX_DATA(CPumpKINDlg) enum { IDD = IDD_PUMPKIN_DIALOG }; + CButton m_HelpCtl; + CButton m_PutCtl; + CButton m_GetCtl; + CButton m_ExitCtl; CButton m_ListenCtl; CButton m_AbortCtl; CButton m_OptionsCtl; @@ -482,6 +493,8 @@ protected: virtual void OnCancel(); afx_msg void OnHelp(); afx_msg void OnListening(); + afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI); + afx_msg void OnSize(UINT nType, int cx, int cy); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; -- cgit v0.9.0.2