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

WindowsAPI-控件:Static

使用WindowsAPI,创建一个static控件:#include <windows.h> #include <CommCtrl.h> #pragma comment(lib, 'comctl32.lib') // 窗口过程函数 LRESULT CALLBACK WindowProc(HWND hwn...
用户80404320的头像-津桥芝士站高级会员用户8040432036天前
03511
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
Sublime Text配置C/C++教程-津桥芝士站

Sublime Text配置C/C++教程

1先下载(百度网盘)安装软件,或去官网安装,除了选择安装路径之外,其它一直next即可。2安装软件软件后,我们在桌面新建一个文件夹,名字无所谓,将文件夹拖动至快捷方式上,即可通过Sublime ...
Windows配置C++ 17/20-津桥芝士站

Windows配置C++ 17/20

1点击 MSYS2 (百度网盘)下载,或者是去到 MSYS2官网下载,并完成安装。2在安装路径下找到:msys2.exe,并打开。接着粘贴:pacman -Syu --disable-download-timeout提示输入的时候输入 Y 或者 y...
Ciallo~的头像-津桥芝士站高级会员Ciallo~36天前
0369
WindowsAPI-控件:SysTabControl32-津桥芝士站

WindowsAPI-控件:SysTabControl32

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

WindowsAPI-控件:SysPager与ToolbarWindow32

使用WindowsAPI,创建SysPager和ToolbarWindow32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define WINDOW_CLASS_NAME L'SampleWin...
用户80404320的头像-津桥芝士站高级会员用户8040432036天前
0516
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的头像-津桥芝士站高级会员用户8040432036天前
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的头像-津桥芝士站高级会员用户8040432036天前
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的头像-津桥芝士站高级会员用户8040432036天前
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的头像-津桥芝士站高级会员用户8040432036天前
02612