WindowsAPI(C++) 第2页
WindowsAPI相关内容(c++)
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-控件:TreeView(SysTreeView32)-津桥芝士站

WindowsAPI-控件:TreeView(SysTreeView32)

使用WindowsAPI,创建SysTreeView32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TREEVIEW 101 HWND hwndTreeView; HTREEI...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
0537
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
WindowsAPI-控件:GroupBox-津桥芝士站

WindowsAPI-控件:GroupBox

使用WindowsAPI,创建GroupBox:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_GROUPBOX 101 #define ID_BUTTON 102 LRESULT CALL...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
0315
WindowsAPI-控件:MonthCalendar-津桥芝士站

WindowsAPI-控件:MonthCalendar

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