看不懂的#define定义.#define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | \WS_CAPTION | \WS_SYSMENU | \WS_THICKFRAME | \WS_MINIMIZEBOX | \WS_MAXIMIZEBOX)这到底是定义的什么?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/24 01:07:03
看不懂的#define定义.#defineWS_OVERLAPPEDWINDOW(WS_OVERLAPPED|\WS_CAPTION|\WS_SYSMENU|\WS_THICKFRAME|\WS_MI

看不懂的#define定义.#define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | \WS_CAPTION | \WS_SYSMENU | \WS_THICKFRAME | \WS_MINIMIZEBOX | \WS_MAXIMIZEBOX)这到底是定义的什么?
看不懂的#define定义.
#define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | \
WS_CAPTION | \
WS_SYSMENU | \
WS_THICKFRAME | \
WS_MINIMIZEBOX | \
WS_MAXIMIZEBOX)
这到底是定义的什么?

看不懂的#define定义.#define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | \WS_CAPTION | \WS_SYSMENU | \WS_THICKFRAME | \WS_MINIMIZEBOX | \WS_MAXIMIZEBOX)这到底是定义的什么?
宏WS_OVERLAPPEDWINDOW
用下面这一串代替
(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
就是WS_OVERLAPPEDWINDOW 等于WS_OVERLAPPED...WS_MAXIMIZEBOX的或
用\是因为一行太长放不下,不便于阅读