After creating the Select Topic window, it was first displayed and then hidden, causing the user to see a black window appear and disappear, affecting their experience; There is no need to set WS_VISSIBLE to display the Select Topic window first.
From: panhui panhui@uniontech.com
--- dlls/hhctrl.ocx/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c index f066d972a5b..1f9375f27ac 100644 --- a/dlls/hhctrl.ocx/help.c +++ b/dlls/hhctrl.ocx/help.c @@ -1608,7 +1608,7 @@ static BOOL AddIndexPopup(HHInfo *info) hwndPopup = CreateWindowExW(WS_EX_LEFT | WS_EX_LTRREADING | WS_EX_APPWINDOW | WS_EX_WINDOWEDGE | WS_EX_RIGHTSCROLLBAR, L"HH Popup", window_title, WS_POPUPWINDOW - | WS_OVERLAPPEDWINDOW | WS_VISIBLE + | WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, CW_USEDEFAULT, CW_USEDEFAULT, 300, 200, info->WinType.hwndHelp, NULL, hhctrl_hinstance, NULL);