#include "stdafx.h"
#define IDC_FILTER_STATIC 1001
HINSTANCE g_hInstance;
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,LPARAM lParam);
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
// TODO: Place code here.
g_hInstance = hInstance;
TCHAR className[] = TEXT("my class");
WNDCLASS wndclass = {
0};
wndclass.hInstance = hInstance;
wndclass.hbrBackground = (HBRUSH)COLOR_BACKGROUND;
wndclass.lpszClassName = className;
wndclass
Win32设置修改STATIC控件字体、颜色
最新推荐文章于 2024-02-03 19:14:28 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)