-
How to dynamically drag selected ListItems in the VB ListView
How to dynamically drag selected ListItems in the VB ListView
- 2023-02-11 17:05:04下载
- 积分: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
-
very good test software, with a worthy, very good
非常好的test软件,值得一用,非常非常好-very good test software, with a worthy, very good
- 2022-03-14 04:14:57下载
- 积分:1
-
简单易懂屏幕捕捉程序,改变静态框背景色,图标的Listcontrol配合属性页
简单易懂屏幕捕捉程序,改变静态框背景色,图标的Listcontrol配合属性页,基本控件的使用
- 2022-03-03 07:57:48下载
- 积分:1
-
This class adds a simple tab control in a WTL based MDI application. It is partl...
This class adds a simple tab control in a WTL based MDI application. It is partly based on the freeware MFC version from Dundas Software available at
- 2022-01-21 18:17:06下载
- 积分:1
-
非常漂亮的对话框,按纽控件在不同状态显示不同颜色,标题栏各按纽修改成不同于WINDOW风格的彩色按纽,另外还有彩色的进度条,滑动块,可绘制三维真彩图,非常逼真。...
非常漂亮的对话框,按纽控件在不同状态显示不同颜色,标题栏各按纽修改成不同于WINDOW风格的彩色按纽,另外还有彩色的进度条,滑动块,可绘制三维真彩图,非常逼真。-very beautful Dlgwindow, it includes colorful button which can show different colors at variable state, the title bar has a fabulous style very different from the default windowXP style, and can show 3D face in seven colors.
- 2022-05-26 09:48:41下载
- 积分:1
-
一个多个视图互相切换的程序的例子
一个多个视图互相切换的程序的例子--An example of multiview programs switching each other
- 2022-02-05 06:52:09下载
- 积分:1
-
富文本指定文字保护,不允许被修改,防止修改出现错误
富文本指定文字保护,不允许被修改,防止修改出现错误-RichEdit Protected
- 2022-02-04 00:38:19下载
- 积分:1
-
VC++ Tab Control example. CTabSheet a simple example. VS 2005 C++ MFC Dialog rou...
VC++ Tab Control实例。CTabSheet简例。VS 2005 C++ MFC Dialog例程-VC++ Tab Control example. CTabSheet a simple example. VS 2005 C++ MFC Dialog routines
- 2022-01-26 00:30:53下载
- 积分:1
-
C common features, there are a number of other functions, such as query function...
C常见功能,还有一些其他功能,比如查询等功能-C common features, there are a number of other functions, such as query functions
- 2023-04-01 06:00:04下载
- 积分:1