📄 outresultdlg.h
字号:
/********************************************************************
filename: d:\spatools\outresultdlg.h
Copyright (c) 2003 Chao Zuo. All rights reserved.
Email: suncho@vip.sina.com
Notice: If this code works, it was written by Chao Zuo.
Else, I don't know who wrote it.
I Wrote this code for all software developers in civil engineering,
and hope it help you.
Have any question, please email me.
*********************************************************************/
#if !defined(AFX_OUTRESULTDLG_H__E90AA02F_0FE7_4AA6_A629_3D1C52FE1A29__INCLUDED_)
#define AFX_OUTRESULTDLG_H__E90AA02F_0FE7_4AA6_A629_3D1C52FE1A29__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OutResultDlg.h : header file
//
#include "RichEditCtrlGS.h"
/////////////////////////////////////////////////////////////////////////////
// COutResultDlg dialog
#include "BtnST.h" // Added by ClassView
class COutResultDlg : public CDialog
{
private:
// Sizes for Dialog and RichEditControl
CSize m_size_DlgMinSize;
CSize m_size_DlgClientSize;
CSize m_size_EditMinSize;
CRect m_rect_EditMinRect;
// Control bar
CToolBar m_wndFormatBar;
CButtonST m_ButtonOpen;
CButtonST m_ButtonSave;
CButtonST m_ButtonBold;
CButtonST m_ButtonXieTi;
CButtonST m_ButtonUnderLine;
CButtonST m_ButtonMiddleLine;
CButtonST m_ButtonFont;
CButtonST m_ButtonColor;
CButtonST m_ButtonLeft;
CButtonST m_ButtonCenter;
CButtonST m_ButtonRight;
CButtonST m_ButtonNumber;
void SetLeft();
void SetCenter();
void SetRight();
void SetFontSize(int iSize);
void SetFontColor(COLORREF rgb);
// Construction
public:
COutResultDlg(CWnd* pParent = NULL); // standard constructor
~COutResultDlg();
void ShowBeamSecText();
void ShowBeamLieFengText();
void ShowColumnStrengthText();
void ShowCircleStrengthText();
void ShowWallStrengthText();
int iSel;
// Dialog Data
//{{AFX_DATA(COutResultDlg)
enum { IDD = IDD_OUTRESULT };
CRichEditCtrlGS m_Ctrl_RichEdit;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COutResultDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void SimplifyString(CString &cs);
void Beam_Moment_Rectangle(float Ro,float M,int b,int h,int asd,int asu,float Fc,
float Ft, float a1,float Fy,float Fyc,float Asc,float ybxsb,float pmin0);
void Beam_Moment_TSharp(float Ro,float M,int b,int h,int bfc,int hfc,
int asd,int asu,float Fc,float Ft, float a1,float Fy,float Fyc,float Asc,
float ybxsb,float pmin0);
void Beam_Design(int KJmLx,int b,int h,int Bfu,int Hfu,int Bfd,int Hfd,
int asu,int asd,int Span,float e0,int Fcuk,CString csTringFy,CString csTringFyc,CString csTringFyv,
float Asc,float Asb,float Arf,float S,float pmin0,BOOL bWan,BOOL bLa,BOOL bNiu,
BOOL bXjm,BOOL bEq,BOOL bJLoad, BOOL bDuiCh, BOOL bJunY,int Kzdj,
int Klxl,float Rmd,float Ro,float M,float N,float V,float T);
void Beam_Vector(float V,int b,int h,int hw,int asd,int fcuk,float fc,float ft,float fy,float Asb,float Arf,float Rmd,float S,
float fyv,int Klxl,BOOL bJLoad);
// Generated message map functions
//{{AFX_MSG(COutResultDlg)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnCtrlOpen();
virtual BOOL OnInitDialog();
afx_msg void OnCtrlSave();
afx_msg void OnCtrlBold();
afx_msg void OnCtrlXieti();
afx_msg void OnCtrlUnderline();
afx_msg void OnCtrlMiddleline();
afx_msg void OnCtrlFont();
afx_msg void OnCtrlColor();
afx_msg void OnCtrlLeft();
afx_msg void OnCtrlCenter();
afx_msg void OnCtrlRight();
afx_msg void OnCtrlNumber();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OUTRESULTDLG_H__E90AA02F_0FE7_4AA6_A629_3D1C52FE1A29__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -