-
一个强大的OwnerDraw菜单
A Powerfull Ownerdraw Menu
A fully featured owner-draw menu class
CMenuXP is a class derived from CMenu using ownerdraw technology. I named it MenuXP because I expected it to be like the menus found in Office XP and Windows XP, but I failed to accomplish it. The main difficulty that I had was converting the 3D border of the menu into a flat one, but I hope it is still useful to you.
I constructed the class from the Scribble sample application and some of the drawing code is copied from the CCoolMenuManager class. Additionally, I have also used a class named CBCGKeyHelper from BCGControlBar to show the accelerator key text.-A Powerfull Ownerdraw Menu A fully featured owner-draw menu class CMenuXP is a class derived from CMenu using ownerdraw technology. I named it MenuXP because I expected it to be like the menus found in Office XP and Windows XP, but I failed to accomplish it. The main difficulty that I had was converting the 3D border of the menu into a flat one, but I hope
- 2022-09-10 15:40:03下载
- 积分:1
-
我想知道如何在某个应用程序的状态栏添加按钮,就像 Windows 快速启动栏里的按钮那样?...
我想知道如何在某个应用程序的状态栏添加按钮,就像 Windows 快速启动栏里的按钮那样?-I want to know how a particular application in the state to add additional buttons, like Windows Quick Start button column did?
- 2022-08-04 01:06:49下载
- 积分:1
-
以A
以A-star算法为基础的通过改良的最短路径探索的源代码-To A-star algorithm based on the shortest path through the modified source code to explore
- 2022-02-05 20:27:19下载
- 积分:1
-
利用VB实现动态按钮
利用VB实现动态按钮-VB dynamic button
- 2023-03-17 15:00:04下载
- 积分:1
-
用VC++编写的用以显示aimde分形图的小程序
用VC++编写的用以显示aimde分形图的小程序-with VC++ for the show aimde Fractal small procedures
- 2022-06-02 07:49:09下载
- 积分:1
-
用vc6.0开发,有圆按钮,三角形按钮,图形按钮类,使用时先用vc加按钮,然后把类改成这些类就行了...
用vc6.0开发,有圆按钮,三角形按钮,图形按钮类,使用时先用vc加按钮,然后把类改成这些类就行了-Use vc6.0 development, there is a round button, triangle button, the button graphics class, use the first with vc add button, and then type into these classes on the list
- 2022-02-05 19:12:56下载
- 积分:1
-
在toolbar上使用bitmap做背景
在toolbar上使用bitmap做背景-use the toolbar to do background bitmap
- 2022-02-14 18:30:23下载
- 积分:1
-
动态创建按钮的c++源程序
动态创建按钮的c++源程序- Dynamic foundation button c++ source program
- 2022-07-08 14:05:42下载
- 积分:1
-
EXCEL加载宏(ExcelAddin)是一套用于开发Excel 加载宏( 插件) 的免费开发框架...
EXCEL加载宏(ExcelAddin)是一套用于开发Excel 加载宏( 插件) 的免费开发框架-EXCEL Add-in (ExcelAddin) is a set for the development of Excel add-in (plug-in) of free development framework
- 2022-05-05 14:16:33下载
- 积分:1
-
谷 歌 Chrome进度条
翻译 maninwest@Codeforge 作者:VallarasuS@CodeProject这里展示如何从头开始创建一个 Go ogle Chrome 主题的 进度条。任何进度条控件都依赖于一个值及表示进度值的图形。 Goo gle Chrome 下载程序有个圆圈表示进度。使用代码ChromeProgressBaris 跟 Chrome ProgressBar 的工作原理一样。将进度值转化为一个圆圈图形来表示.private void PaintProgress(PaintEventArgs e)
{ using( SolidBrush progressBrush = new SolidBrush(this.ProgressColor))
{
Rectangle rect = LayoutInternal.ProgressRectangle;
rect.Inflate(-2, -2);
rect.Height -= 2; rect.Width -= 2; float startAngle = -90; float sweepAngle = Progress / 100 * 360;
e.Graphics.FillPie(progressBrush, rect, startAngle, sweepAngle);
}
}这里是如何使用图形路径和4条线绘制圆圈和细分部分。对 Graphics 对象的剪切部分进行调整来剪切圆圈外的线。private void PaintBorder(PaintEventArgs e)
{
GraphicsPath borderPath = new GraphicsPath();
Rectangle progressRect = LayoutInternal.Prog
- 2022-08-08 07:55:37下载
- 积分:1