资源简介
费尔个人防火墙2.1源程序
费尔个人防火墙2.1源程序
费尔个人防火墙2.1源程序
费尔个人防火墙2.1源程序 加 开发文档 ,值得借鉴,
绝对好东西

代码片段和文件信息
// BtnST.cpp : implementation file
//
#include “stdafx.h“
#include “BtnST.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CButtonST
CButtonST::CButtonST()
{
m_crDisableFg = COLOR_DISABLE_TEXT;
m_bIsDrawNormalBorder = FALSE;
m_bIsDrawDown = TRUE;
m_bIsSelect = FALSE;
m_sToolTipText = ““;
m_nHeightType = HEIGHTTYPE_DEFAULT;
m_bIsTransparent = TRUE;
m_bFocusDrawBorder = FALSE;
m_bIsFocus = FALSE;
m_MouseOnButton = FALSE;
m_hIconIn = NULL;
m_hIconOut = NULL;
m_cxIcon = 0;
m_cyIcon = 0;
m_hBitmapIn = NULL;
m_hBitmapOut = NULL;
m_hBitmapSel = NULL;
m_cyBitmap = 0;
m_cxBitmap = 0;
m_hCursor = NULL;
// Default type is “flat“ button
m_bIsFlat = TRUE;
// By default draw border in “flat“ button
m_bDrawBorder = TRUE;
// By default icon is aligned horizontally
m_nAlign = ST_ALIGN_HORIZ;
// By default show the text button
m_bShowText = TRUE;
// By default for “flat“ button don‘t draw the focus rect
m_bDrawFlatFocus = FALSE;
SetDefaultInactiveBgColor();
SetDefaultInactiveFgColor();
SetDefaultActiveBgColor();
SetDefaultActiveFgColor();
} // End of CButtonST
CButtonST::~CButtonST()
{
// Destroy the icons (if any)
if (m_hIconIn != NULL) ::Deleteobject(m_hIconIn);
if (m_hIconOut != NULL) ::Deleteobject(m_hIconOut);
if(m_hBitmapIn != NULL) ::Deleteobject(m_hBitmapIn);
if(m_hBitmapOut != NULL) ::Deleteobject(m_hBitmapOut);
if(m_hBitmapSel != NULL) ::Deleteobject(m_hBitmapSel);
// Destroy the cursor (if any)
if (m_hCursor != NULL) ::DestroyCursor(m_hCursor);
} // End of ~CButtonST
BEGIN_MESSAGE_MAP(CButtonST CButton)
//{{AFX_MSG_MAP(CButtonST)
ON_WM_CAPTURECHANGED()
ON_WM_SETCURSOR()
ON_WM_KILLFOCUS()
ON_WM_MOUSEMOVE()
ON_WM_SETFOCUS()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
void CButtonST::SetIcon(int nIconInId int nIconOutId BYTE cx BYTE cy)
{
HINSTANCE hInstResource = AfxFindResourceHandle(MAKEINTRESOURCE(nIconInId)
RT_GROUP_ICON);
// Set icon when the mouse is IN the button
m_hIconIn = (HICON)::LoadImage(hInstResource/*AfxGetApp()->m_hInstance*/ MAKEINTRESOURCE(nIconInId) IMAGE_ICON 0 0 0);
// Set icon when the mouse is OUT the button
m_hIconOut = (nIconOutId == NULL) ? m_hIconIn : (HICON)::LoadImage(hInstResource/*AfxGetApp()->m_hInstance*/ MAKEINTRESOURCE(nIconOutId) IMAGE_ICON 0 0 0);
m_cxIcon = cx;
m_cyIcon = cy;
RedrawWindow();
} // End of SetIcon
void CButtonST::SetBitmaps(int nBitmapInId int nBitmapOutId int nBitmapSelId BYTE cx BYTE cy)
{
if(m_hBitmapIn != NULL) ::Deleteobject(m_hBitmapIn);
if(m_hBitmapOut != NULL) ::Deleteobject(m_hBitmapOut);
if(m_hBitmapSel != NULL) ::Deleteobject(m_hBitmapSel);
m_hBitmapIn = NULL;
m_hBitmapOut = NULL;
m_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2003-03-12 22:02 XFILTER2_FOR_9X_2K_XP\
文件 2252 2002-12-25 16:00 XFILTER2_FOR_9X_2K_XP\CodeChange.txt
目录 0 2003-03-12 22:02 XFILTER2_FOR_9X_2K_XP\Common\
文件 607 2003-03-12 16:48 XFILTER2_FOR_9X_2K_XP\Common\AclManage.cxx
文件 644 2002-03-18 19:45 XFILTER2_FOR_9X_2K_XP\Common\AclManage.h
文件 22208 2003-03-12 16:48 XFILTER2_FOR_9X_2K_XP\Common\BtnST.cpp
文件 5152 2002-04-10 18:16 XFILTER2_FOR_9X_2K_XP\Common\BtnST.h
文件 6464 2003-03-12 16:52 XFILTER2_FOR_9X_2K_XP\Common\ColorStatic.cpp
文件 4481 2002-04-24 12:40 XFILTER2_FOR_9X_2K_XP\Common\ColorStatic.h
文件 6646 2003-03-18 12:57 XFILTER2_FOR_9X_2K_XP\Common\ControlCode.h
文件 676 2003-03-12 16:48 XFILTER2_FOR_9X_2K_XP\Common\CPasseckDialog.cpp
文件 1033 2002-04-06 11:03 XFILTER2_FOR_9X_2K_XP\Common\Debug.h
文件 16956 2003-03-18 12:57 XFILTER2_FOR_9X_2K_XP\Common\Filt.h
文件 30338 2003-03-12 17:44 XFILTER2_FOR_9X_2K_XP\Common\GuiRes.h
文件 8506 2003-03-12 16:52 XFILTER2_FOR_9X_2K_XP\Common\PacketMonitor.cpp
文件 1123 2002-04-04 15:59 XFILTER2_FOR_9X_2K_XP\Common\PacketMonitor.h
文件 4676 2003-03-12 16:52 XFILTER2_FOR_9X_2K_XP\Common\PasseckDialog.cpp
文件 1360 2002-04-22 22:15 XFILTER2_FOR_9X_2K_XP\Common\PasseckDialog.h
文件 2297 2003-03-12 16:52 XFILTER2_FOR_9X_2K_XP\Common\Process.cxx
文件 464 2002-04-06 16:47 XFILTER2_FOR_9X_2K_XP\Common\Process.h
文件 2833 2002-04-13 14:27 XFILTER2_FOR_9X_2K_XP\Common\TypeStruct.h
文件 24779 2003-03-12 17:47 XFILTER2_FOR_9X_2K_XP\Common\XCommon.cpp
文件 3568 2003-03-12 17:48 XFILTER2_FOR_9X_2K_XP\Common\XCommon.h
文件 32173 2003-03-12 16:52 XFILTER2_FOR_9X_2K_XP\Common\XFile.cpp
文件 4834 2002-12-20 15:00 XFILTER2_FOR_9X_2K_XP\Common\XFile.h
文件 9353 2002-03-20 00:39 XFILTER2_FOR_9X_2K_XP\Common\XFileRes.h
文件 9516 2003-03-12 16:52 XFILTER2_FOR_9X_2K_XP\Common\XInstall.cpp
文件 2888 2002-06-10 18:49 XFILTER2_FOR_9X_2K_XP\Common\XInstall.h
文件 13080 2003-03-12 16:52 XFILTER2_FOR_9X_2K_XP\Common\XLogFile.cpp
文件 3106 2002-04-10 14:20 XFILTER2_FOR_9X_2K_XP\Common\XLogFile.h
文件 1318 2003-03-11 17:35 XFILTER2_FOR_9X_2K_XP\License.txt
............此处省略199个文件信息
相关资源
- scratch3.0 源程序(说相声)
- 改进的BP神经网络算法
- 光立方制作(原理图 源程序 LED搭接方
- FM1702调试源程序
- 防火墙编程-Visual C 网络通信开发
- 智能寻迹机器人源程序及pcb图
- 单片机数字时钟包附电路图 源程序
- C 纸牌游戏——21点
- 16X16点阵程序(附仿真图和源程序)
- 基于ARM蓝牙传输源程序
- C读DXF源程序及AutoCAD中的DXF参考文件
- 路由选择算法源程序(最短路径算法
- C 编写的防火墙程序源代码
- 数字电压表(源程序 protues仿真)
- 基于Filter-Hook Driver的个人防火墙
- 耐威网关软件防火墙简易版(附源码
- Hillstone防火墙技术——StoneOS安
- 绿盟下一代防火墙典型部署手册 高清
- juniper 防火墙巡检方案模板
- 某公司PIX 520防火墙系统和NAT的实施
- Cisco PIX 515E防火墙
- Cisco PIX 500系列防火墙产品简介
- Cisco Secure PIX 535防火墙产品简介
- Cisco Secure PIX 515防火墙产品资料
- 源程序量统计小工具
- delphi rfid 读写卡读卡器/写卡器源程序
- HP中小企业防火墙产品解决方案
- 全屏的俄罗斯方块源程序
- 山石网科安全网关防火墙SG-6000-X6150技
- 获取外网IP地址小工具,VC 简单源程
评论
共有 条评论