C++ 第2页
C++
WindowsAPI-控件:ProgressBar-津桥芝士站

WindowsAPI-控件:ProgressBar

使用WindowsAPI,创建ProgressBar控件:#include <windows.h> #include <commctrl.h> #define TIMER_ID 1 #pragma comment(lib, 'comctl32.lib') HWND hwndProgressBar; int c = 0;...
用户80404320的头像-津桥芝士站高级会员用户8040432036天前
03815
WindowsAPI-控件:SysDateTimePick32-津桥芝士站

WindowsAPI-控件:SysDateTimePick32

使用WindowsAPI,创建SysDateTimePick32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_DATETIMEPICK 101 LRESULT CALLBACK ...
Ciallo~的头像-津桥芝士站高级会员Ciallo~36天前
04114
WindowsAPI-控件:SysTabControl32-津桥芝士站

WindowsAPI-控件:SysTabControl32

使用WindowsAPI,创建SysTabControl32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') HINSTANCE hInst; HWND hwndTab; // 标签控件句柄 ...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
0407
WindowsAPI-控件:SysHeader32-津桥芝士站

WindowsAPI-控件:SysHeader32

使用WindowsAPI,创建SysHeader32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_HEADER 101 LRESULT CALLBACK WindowProc(H...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
02611
程序设计天梯赛题解-25分题 (C/C++)-津桥芝士站

程序设计天梯赛题解-25分题 (C/C++)

L2-002 链表去重L2-003 月饼L2-004 这是二叉搜索树吗?L2-005 集合相似度L2-006 树的遍历L2-007 家庭房产L2-008 最长对称子串L2-009 抢红包L2-010 排座位L2-011 玩转二叉树L2-012 关于堆的判断...
LICDAK的头像-津桥芝士站高级会员LICDAK13天前
07511
WindowsAPI-控件:ComboBoxEx32-津桥芝士站

WindowsAPI-控件:ComboBoxEx32

使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
0235
WindowsAPI-控件:Tooltips_class32-津桥芝士站

WindowsAPI-控件:Tooltips_class32

使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
0305
WindowsAPI-控件:Hotkey-津桥芝士站

WindowsAPI-控件:Hotkey

使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
04215
WindowsAPI-控件:ListView(SysListView32)-津桥芝士站

WindowsAPI-控件:ListView(SysListView32)

使用WindowsAPI,创建一个ListView控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_LISTVIEW 101 LRESULT CALLBACK WindowPro...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
02612
WindowsAPI-控件:Edit-津桥芝士站

WindowsAPI-控件:Edit

使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
03111
WindowsAPI-控件:TrackBar-津桥芝士站

WindowsAPI-控件:TrackBar

使用WindowsAPI,创建TrackBar控件:#include <windows.h> #include <commctrl.h> #include <stdio.h> #pragma comment(lib, 'comctl32.lib') #define ID_TRACKBAR 101 #defi...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
03015
WindowsAPI-控件:ToolBar-津桥芝士站

WindowsAPI-控件:ToolBar

使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
03314