-
通过重载WinProc方法实现类似于其它软件流行的吸附功能.
通过重载WinProc方法实现类似于其它软件流行的吸附功能.-Through overloaded methods WinProc realize similar to other software popular adsorption function.
- 2022-03-02 14:53: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
-
模仿了oicq的界面,做的还不错,可以借鉴
模仿了oicq的界面,做的还不错,可以借鉴-copied the interface and doing quite well, we can draw on
- 2022-06-30 03:07:30下载
- 积分:1
-
学c++ builder的第一个程序,希望其他初学者也
学c++ builder的第一个程序,希望其他初学者也-Xue c++ Builder of the first procedure, and I hope other beginners
- 2022-03-16 13:45:12下载
- 积分:1
-
pls try, it easy to control Got controls and a small file si ze.
pls try,it easy to control ui controls and a small file size.-pls try, it easy to control Got controls and a small file si ze.
- 2022-03-31 06:32:59下载
- 积分:1
-
可以得到图象的像素点阵信息,得到像素点阵信息是按照列取的...
可以得到图象的像素点阵信息,得到像素点阵信息是按照列取的-images can be pixel dot matrix information, to receive information pixel matrix is shown from the
- 2023-01-15 00:50:03下载
- 积分:1
-
一个用DELPHI编写的程序,很有个性.另有代码
一个用DELPHI编写的程序,很有个性.另有代码-a prepared using DELPHI procedures personality. Another source
- 2022-03-06 07:55:50下载
- 积分:1
-
动态改变分割视图窗口显示的视图类。
动态改变分割视图窗口显示的视图类。-View window shows the View class.
- 2022-12-26 00:15:04下载
- 积分:1
-
interface development including box, uncheck, the progress of the realization of...
界面开发包括复选框,单选框,进度条的实现的实例及扩展-interface development including box, uncheck, the progress of the realization of the examples and expansion
- 2022-03-06 05:16:05下载
- 积分:1
-
这个是我上一个的计算结果的图形,应用到tecplot
这个是我上一个的计算结果的图形,应用到tecplot-This is my calculation on the results of a graphics application to tecplot
- 2022-04-12 06:43:26下载
- 积分:1