2025年的文章 第15页

个人的AI网站搭建教程(支持4omini)-C佳家

个人的AI网站搭建教程(支持4omini)

1. 云服务器可以选用无需备案的服务器,此教程以香草云(点击此处访问香草云)云服务器为例。实例位置: 中国香港(因为无需备案)套餐选择: 1C2G(基本上够用)实例类型:CentOS-7.8-docker购买...
WindowsAPI-控件:SysTabControl32-C佳家

WindowsAPI-控件:SysTabControl32

使用WindowsAPI,创建SysTabControl32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') HINSTANCE hInst; HWND hwndTab; // 标签控件句柄 ...
WindowsAPI-控件:SysHeader32-C佳家

WindowsAPI-控件:SysHeader32

使用WindowsAPI,创建SysHeader32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_HEADER 101 LRESULT CALLBACK WindowProc(H...
WindowsAPI-控件:SysStatusBar-C佳家

WindowsAPI-控件:SysStatusBar

使用WindowsAPI,创建SysStatusBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') HINSTANCE hInst; HWND hwndStatusBar; void Initiali...
WindowsAPI-控件:SysPager与ToolbarWindow32-C佳家

WindowsAPI-控件:SysPager与ToolbarWindow32

使用WindowsAPI,创建SysPager和ToolbarWindow32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define WINDOW_CLASS_NAME L'SampleWin...
WindowsAPI-控件:ComboBoxEx32-C佳家

WindowsAPI-控件:ComboBoxEx32

使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
WindowsAPI-控件:ReBarWindow32-C佳家

WindowsAPI-控件:ReBarWindow32

使用WindowsAPI,创建ReBarWindow32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define NUMBUTTONS 3 #define ID_TOOLBAR 201 #defi...
WindowsAPI-控件:Tooltips_class32-C佳家

WindowsAPI-控件:Tooltips_class32

使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
WindowsAPI-控件:Hotkey-C佳家

WindowsAPI-控件:Hotkey

使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
WindowsAPI-控件:ListView(SysListView32)-C佳家

WindowsAPI-控件:ListView(SysListView32)

使用WindowsAPI,创建一个ListView控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_LISTVIEW 101 LRESULT CALLBACK WindowPro...
WindowsAPI-控件:TreeView(SysTreeView32)-C佳家

WindowsAPI-控件:TreeView(SysTreeView32)

使用WindowsAPI,创建SysTreeView32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TREEVIEW 101 HWND hwndTreeView; HTREEI...
WindowsAPI-控件:Edit-C佳家

WindowsAPI-控件:Edit

使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...