8000 winuser说明 · Issue #106 · holdyounger/ScopeBlog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
winuser说明 #106
Open
Open
@holdyounger

Description

@holdyounger

winuser说明

Winuser.h 标头 - Win32 apps | Microsoft Learn

[toc]

winuser 相关函数说明

GetSystemMetrics

> GetSystemMetrics 函数 (winuser.h) - Win32 apps | Microsoft Learn
>
> 检索指定的系统指标或系统配置设置。
>
> 请注意, GetSystemMetrics 检索的所有维度都以像素为单位。

int iconWidth = GetSystemMetrics(SM_CXSMICON);  // 图标基准宽度 
int iconHeight = GetSystemMetrics(SM_CYSMICON); // 图标基准高度

blog link winuser说明

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0