gpt4 book ai didi

c - StatusBar 是默认以简单模式创建的吗?

转载 作者:行者123 更新时间:2023-11-30 17:13:14 26 4
gpt4 key购买 nike

首次创建 StatusBar 时,例如:

HWND hStatusBar = CreateWindowEx(0, STATUSCLASSNAME, "", WS_CHILD | WS_VISIBLE, 0, 0, 0, 0, hWnd, 0, GetModuleHandle(NULL), NULL);

它是以简单模式还是多部分模式创建的?或者也许这不能保证,最好在创建后设置我想要的模式?

最佳答案

正如您所做的那样,通过调用 CreateWindowEx 创建状态栏。首次创建状态栏时,它没有任何部分。通过向状态栏发送 SB_SETPARTS 消息来将部件添加到状态栏。

Is it created in simple mode or in multiple-part mode?

没有零件的简单模式。

Is it better to set the mode I want after creating it?

部件只能在窗口创建后指定。

关于c - StatusBar 是默认以简单模式创建的吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30942457/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com