📄 unit3.cpp
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit3.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//-取得CheckBox的信息值-----------------------------------------------------
#ifndef TVS_CHECKBOXES
#define TVS_CHECKBOXES 0x0100
#endif
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
// 取得原TreeView的类型资料
DWORD dwStyle = ::GetWindowLong(TreeView1->Handle, GWL_STYLE);
// 再加上CheckBox类型的新信息值
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -