D:/_sources/u2c_12/ControlPanel/I2cBusLevelBar.h
Go to the documentation of this file.00001 // Copyright (C)2006 Diolan ( http://www.diolan.com ) 00002 // 00003 // This program is free software; you can redistribute it and/or 00004 // modify it under the terms of the GNU General Public License 00005 // as published by the Free Software Foundation 00006 // 00007 // This program is distributed in the hope that it will be useful, 00008 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00009 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00010 // GNU General Public License for more details. 00011 00012 #pragma once 00013 00014 00015 00016 class CI2cBusLevelBar : public CDialogBar 00017 { 00018 DECLARE_DYNAMIC(CI2cBusLevelBar) 00019 00020 public: 00021 CI2cBusLevelBar(); 00022 virtual ~CI2cBusLevelBar(); 00023 void EnableControls(bool bEnable); 00024 00025 00026 protected: 00027 afx_msg void OnUpdateButtons (CCmdUI* pCmdUI); 00028 DECLARE_MESSAGE_MAP() 00029 private: 00030 bool m_bEnableControls; 00031 00032 }; 00033 00034
2006-2012