📄 treelist.c
字号:
//:TreeList.c - handle "TreeList" window class
//
// $Id: TreeList.c,v 1.8 1997/09/12 15:51:49 pbj Exp $
//
#include "TLintern.h"
//----------------------------------------------------|
// Load and initialize control
void WINAPI InitTreeListControl (void) {
WNDCLASS wc;
InitCommonControls ();
// register new window classes for menus
wc.style = CS_DBLCLKS | CS_GLOBALCLASS | CS_PARENTDC; // Class style(s).
wc.lpfnWndProc = (WNDPROC) TreeListMsgProc;
wc.cbClsExtra = 0; // No per-class extra data.
wc.cbWndExtra = sizeof (TLWndData*); // pointer to extra data
// structure
wc.hInstance = 0;
wc.hIcon = NULL;
wc.hCursor = LoadCursor (NULL, IDC_ARROW);
wc.hbrBackground = (HBRUSH) (COLOR_WINDOW+1); // Background color
wc.lpszMenuName = NULL; // No menu
wc.lpszClassName = "TreeListCtrl32"; // Name used in CreateWindow
RegisterClass (&wc);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -