LAPTOP-SNT8I5JK\Boounion
2025-07-08 f0f942498d6b0c9a92ee2d7b9ea62a592b8f4cce
SourceCode/Bond/Servo/CMyStatusbar.h
@@ -1,5 +1,9 @@
#pragma once
#include "BlButton.h"
#include "ColorTransfer.h"
#define ID_MSG_STATUSBAR_BTN_CLICKED      WM_USER + 20398
// CMyStatusbar 对话框
@@ -16,6 +20,8 @@
   void setBackgroundColor(COLORREF color);
   void setForegroundColor(COLORREF cr);
   void setRunTimeText(const char* pszText);
   void setCurTaskBtnText(const char* pszText);
   void setCimBtnText(const char* pszText);
private:
   void Resize();
@@ -24,7 +30,8 @@
   COLORREF m_crForeground;
   COLORREF m_crBkgnd;
   CBrush m_brBkgnd;
   CBlButton m_btnCurTask;
   CBlButton m_btnCim;
// 对话框数据
#ifdef AFX_DESIGN_TIME
@@ -40,4 +47,5 @@
   afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
   afx_msg void OnDestroy();
   afx_msg void OnSize(UINT nType, int cx, int cy);
   virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
};