首先是考虑全屏处理的时机,是在创建窗口时还是显示窗口时进行,若是前者,则可以: BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) 若是在显示窗口时进行处理: BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) 也可以让用户控制全屏的时机,比如按下”ESC“键后进入全屏 BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) 在窗口处理函数中对ESC键进行处理: switch (message) 相关文章: 2021-08-15 2022-12-23 2022-12-23 2022-12-23 2022-02-12 2022-02-12 2021-06-02