-
VC实现串口通讯显示
///////////////文件 commDlg.cpp////////////////
//一个类,对话框类,本程序使用的是对话框形式,这个类是在VC用MFC自动生成的,其中包括了对话框程序应有的一些方法
class CAboutDlg : public CDialog
{
};
/********************以下的个方法也是VC的MFC的对话框程序固有的,也是MFC自动生成的**************/
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-01-25 13:10:04下载
- 积分:1
-
几个常用的控键程序 c版本
几个常用的控键程序 c版本-several commonly used keys control procedures c version
- 2022-08-14 07:05:55下载
- 积分:1
-
该源代码是实现界面程序中对自定义的按钮实现的一种封装
该源代码是实现界面程序中对自定义的按钮实现的一种封装-the source code is the interface procedures from the definition of a button to achieve Packaging
- 2022-09-10 09:05:03下载
- 积分:1
-
程序员经常为在程序中设计进度条而烦恼,这个程序演示了如何简单的在status bar中的实现进度条。...
程序员经常为在程序中设计进度条而烦恼,这个程序演示了如何简单的在status bar中的实现进度条。- The programmer frequently for designs the progress strip in the
procedure but the worry, did this procedure demonstrate has been how
simple in the status bar realization progress strip.
- 2022-03-10 11:22:25下载
- 积分:1
-
windows GDI+编程,关于怎么使用CPen,CBbush等deng
windows GDI+编程,关于怎么使用CPen,CBbush等deng-on how to use CPen, such as Deng CBbush
- 2022-02-22 05:10:19下载
- 积分:1
-
Duilib窗体增加阴影效果
应用背景用于在Duilib界面库产生的窗体周围添加阴影效果关键技术1. 在要添加阴影效果的窗体类中包含WndShadow的头文件,并创建对应类型的成员变量m_WndShadow。
2. 在WinMain处添加初始化
// Initiation of the shadow
CWndShadow::Initialize(hInstance);
3. 窗体OnCreate中设置
LRESULT OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
LONG styleValue = ::GetWindowLong(*this, GWL_STYLE);
styleValue &= ~WS_CAPTION;
::SetWindowLong(*this, GWL_STYLE, styleValue | WS_CLIPSIBLINGS | WS_CLIPCHILDREN);
m_WndShadow.Create(m_hWnd);
m_WndShadow.SetSize(4);
m_WndShadow.SetPosition(0, 0);
//blablabla....
return 0;
}
说明:此处为了更清除的看到窗体边框阴影效果,我将调用的地方原来的m_WndShadow.SetSize(4);改为
了m_WndShadow.SetSize(15);正常情况下,Size设置为4的效果即可。
- 2022-06-18 09:40:40下载
- 积分:1
-
Max6675 温度程序
应用背景关键技术快速测量温度,用于arduino快速 开发开,两线偶电热杆。对于初开发学者有很好的学习案例,也可以进一步应用一般温度设计。
- 2022-03-14 04:28:04下载
- 积分:1
-
实现了类似于windows资源管理器窗口的程序,其中可以遍历一个文件夹下所有的文件和子文件夹,并可在右侧宣示其相关信息...
实现了类似于windows资源管理器窗口的程序,其中可以遍历一个文件夹下所有的文件和子文件夹,并可在右侧宣示其相关信息-achieve similar to the windows of the window of resource management procedures that can traverse a folder of documents and all subfolders, and may assert its right information
- 2022-04-15 20:19:39下载
- 积分:1
-
用户在窗口的不同区域移动鼠标时,光标将显示如下图所标识的不同箭头的形状。...
用户在窗口的不同区域移动鼠标时,光标将显示如下图所标识的不同箭头的形状。-Users in different regions of the window when you move the mouse, the cursor will display the following map identifies the shape of the different arrows.
- 2022-02-01 02:08:23下载
- 积分:1
-
Hello, I was a beginner, your loyal readers site, look for their support. Thank...
你好,我是初学者,也是贵网站的忠诚读者,望多多支持.-Hello, I was a beginner, your loyal readers site, look for their support. Thank you
- 2023-05-25 12:55:03下载
- 积分:1