-
如果你用 MFC 编写过多文档界面(MDI)Windows 程序,那么肯定知道:如果父窗口标题为“PCaption”,子窗口标题为“CCaption”,那么每当...
如果你用 MFC 编写过多文档界面(MDI)Windows 程序,那么肯定知道:如果父窗口标题为“PCaption”,子窗口标题为“CCaption”,那么每当子窗口最大化并处于激活状态时,子窗口标题一般都会与父窗口标题合二为一,变成“PCaption-[CCaption]”。 这是一种 MDI 的默认行为。用 C# 编写多文档界面程序也不例外。很多用户都不喜欢这种缺省特性,往往想用定制的窗口标题取而代之。该例子示范如何在C#程序中定制和修改MDI应用的窗口标题。-If you use MFC prepared excessive document interface (MDI) Windows procedures, Well know for sure : If the father window entitled "PCaption" Subwindow entitled "CCaption," then maximize the window whenever son was in a state of activation, Subwindow heading generally patriarchal heading into one window, become "PCaption-[CCaption]." This is a MDI default behavior. C# prepared multi-document interface procedures are no exception. Many users do not like this default characteristics are often customized to use the title of the window replaced. The examples demonstrate how C# procedures customization and modification of MDI application"s window title.
- 2023-02-19 06:00:03下载
- 积分:1
-
QT编写的C++贪吃蛇小游戏
游戏通过按键控制
部分代码:
#include "gamewidget.h"
#define ROW 13
#define COL 16
#define UP 0
#define DOWN 1
#define LEFT 2
#define RIGHT 3
GameWidget::GameWidget(QWidget *parent)
:QWidget(parent)
{
this->setAutoFillBackground(true);//覆盖
this->resize(480,270);
this->setWindowIcon(QIcon("img/icon.jpg"));
this->setWindowTitle("贪吃蛇");
QPalette palette;
palette.setBrush(QPalette::Background,QBrush((QPixmap)"img/bjt.png"));
this->setPalette(palette);
//按扭区
leftbtn=new QPushButton(this);
leftbtn->setIcon((QIcon)"img/zuo.png");
leftbtn->setIconSize(QSize(40,40));
leftbtn->setGeometry(QRect(340,180,40,40));
leftbtn->setFlat(true);
rightbtn=new QPushButton(this);
rightbtn->setIcon((QIcon)"img/you.png");
rightbtn->setIconSize(QSize(40,40));
rightbtn->setGeometry(QRect(430,180,40,40));
rightbtn->setFlat(true
- 2022-03-21 19:09:00下载
- 积分:1
-
Convert PDF into TIF
提供快速将PDF文件转化为TIF格式
Form1.frm/Project1.vbp
-Convert PDF into TIF
- 2022-02-05 12:24:25下载
- 积分:1
-
shape based image retrieval using fourier description
shape based image retrieval using fourier description
- 2022-06-12 11:59:49下载
- 积分:1
-
VC常量、宏等自动提示器
VC常量、宏等自动提示器-VC constant, great and so on automatic prompt
- 2022-10-14 22:15:03下载
- 积分:1
-
OFDM脉冲成型
经典OFDM系统的脉冲整型,包含Windows和Mac OSX两个版本的矩形函数整型、半余弦整型、高斯函数整型、各向同性正交变换算法(IOTA)整型的matlab源代码。
- 2023-06-10 07:35:03下载
- 积分:1
-
Calcu_Sets
此程序计算的基本操作的一套理论在数学: 联盟两套、 两个集合的交集和一套补充。该程序运行在控制台中。
- 2022-08-21 22:17:10下载
- 积分:1
-
四轴飞机固件 stm32
四轴无人机开源固件源码,无遥控固件.这个源码非常好.我已经在使用了.
- 2022-11-27 11:10:03下载
- 积分:1
-
此源的C语言标准是一个标准的风格形式可以带来压力。
C语言标准 此源码是标准的风格形式 可以给用户带来极大的方便-C language standard for this source is a standard form of the style can bring great convenience to users
- 2023-07-23 13:20:03下载
- 积分:1
-
文件夹保护是对文件夹进行锁定的小软件,可以参考开发成文件夹加密等工具...
文件夹保护是对文件夹进行锁定的小软件,可以参考开发成文件夹加密等工具-Folder is a folder protection lock small software, can be developed into a reference folder encryption tools such as
- 2022-02-02 11:28:44下载
- 积分:1