• 大小: 3.29MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-11
  • 语言: 其他
  • 标签:

资源简介

Qt之USB数据监测软件源程序

资源截图

代码片段和文件信息

//Download by http://www.NewXing.com
// MyEdit.cpp : implementation file
//

#include “stdafx.h“
#include “TestUsb5.h“
#include “MyEdit.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMyEdit

CMyEdit::CMyEdit()
{
}

CMyEdit::~CMyEdit()
{
}


BEGIN_MESSAGE_MAP(CMyEdit CEdit)
//{{AFX_MSG_MAP(CMyEdit)
ON_WM_CTLCOLOR()
ON_WM_DRAWITEM()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyEdit message handlers

HBRUSH CMyEdit::OnCtlColor(CDC* pDC CWnd* pWnd UINT nCtlColor) 
{
HBRUSH hbr = CEdit::OnCtlColor(pDC pWnd nCtlColor);

// TODO: Change any attributes of the DC here
CBrush brush(RGB(2552550));
//pDC->Selectobject(&brush);
pDC->SetBkColor(RGB(2552550));
return brush;
// TODO: Return a different brush if the default is not desired
// return hbr;
}

void CMyEdit::OnDrawItem(int nIDCtl LPDRAWITEMSTRUCT lpDrawItemStruct) 
{
// TODO: Add your message handler code here and/or call default
C
CEdit::OnDrawItem(nIDCtl lpDrawItemStruct);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       6251  2013-12-02 03:40  TestUsb5\devintf.h

     文件       1227  2013-12-02 03:40  TestUsb5\MyEdit.cpp

     文件       1227  2013-12-02 03:40  TestUsb5\MyEdit.h

    .......       766  2002-09-12 19:51  TestUsb5\res\1.ico

    .......      1078  2002-09-12 16:46  TestUsb5\res\TestUsb5.ico

    .......       400  2002-09-12 16:46  TestUsb5\res\TestUsb5.rc2

     文件       1000  2013-12-02 03:40  TestUsb5\resource.h

     文件        248  2013-12-02 03:40  TestUsb5\StdAfx.cpp

     文件       1092  2013-12-02 03:40  TestUsb5\StdAfx.h

    .......     20816  2002-11-20 16:30  TestUsb5\TestUsb5.aps

    .......      1598  2002-11-20 16:47  TestUsb5\TestUsb5.clw

     文件       2129  2013-12-02 03:40  TestUsb5\TestUsb5.cpp

    .......      4349  2002-09-30 16:26  TestUsb5\TestUsb5.dsp

    .......       541  2002-09-12 16:46  TestUsb5\TestUsb5.dsw

     文件       1384  2013-12-02 03:40  TestUsb5\TestUsb5.h

     文件   12954624  2016-10-25 22:18  TestUsb5\TestUsb5.ncb

    .......     49664  2002-11-20 16:47  TestUsb5\TestUsb5.opt

    .......      1175  2002-11-20 16:36  TestUsb5\TestUsb5.plg

    .......      5966  2002-09-17 21:25  TestUsb5\TestUsb5.rc

     文件       3584  2016-10-25 22:18  TestUsb5\TestUsb5.suo

     文件       9377  2013-12-02 03:40  TestUsb5\TestUsb5Dlg.cpp

     文件       1722  2013-12-02 03:40  TestUsb5\TestUsb5Dlg.h

     文件        628  2013-12-02 03:40  TestUsb5\UsbTestDeviceInterface.h

     目录          0  2002-11-20 15:51  TestUsb5\Release

     目录          0  2002-11-20 15:51  TestUsb5\res

     目录          0  2016-10-25 22:18  TestUsb5

----------- ---------  ---------- -----  ----

             13070846                    26


评论

共有 条评论

相关资源