4#ifndef __LedLineItMainFrame_h__
5#define __LedLineItMainFrame_h__ 1
7#include "Stroika/Frameworks/StroikaPreComp.h"
9DISABLE_COMPILER_MSC_WARNING_START (4459)
11DISABLE_COMPILER_MSC_WARNING_END (4459)
13#include "Stroika/Frameworks/Led/Support.h"
15#include "LedLineItConfig.h"
17class LedLineItMainFrame :
public CMDIFrameWnd {
19 using inherited = CMDIFrameWnd;
22 LedLineItMainFrame ();
25 DECLARE_DYNCREATE (LedLineItMainFrame)
28 nonvirtual
bool GetStatusBarShown ()
const;
29 nonvirtual
void SetStatusBarShown (
bool shown);
32 nonvirtual
void TrackInGotoLineField ();
35 class StatusBar :
public CStatusBar {
37 using inherited = CStatusBar;
47 afx_msg
void OnLButtonDown (UINT nFlags, CPoint oPoint);
48 afx_msg
void OnMagicLoseFocus ();
49 afx_msg
void OnMagicEdited ();
52 nonvirtual
void TrackInGotoLineField ();
55 class GotoEdit :
public CEdit {
57 afx_msg UINT OnGetDlgCode ();
58 afx_msg
void OnKeyDown (UINT nChar, UINT , UINT );
59 DECLARE_MESSAGE_MAP ()
63 DECLARE_MESSAGE_MAP ()
64 friend class LedLineItMainFrame;
70 afx_msg
int OnCreate (LPCREATESTRUCT lpCreateStruct);
71 afx_msg
void OnInitMenuPopup (CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
74 afx_msg
void OnUpdateLineIndicator (CCmdUI* pCmdUI);
75 afx_msg
void OnCloseWindowCommand ();
76 afx_msg
void OnCloseAllWindowsCommand ();
79 DECLARE_MESSAGE_MAP ()
87inline LedLineItMainFrame::LedLineItMainFrame ()