Files
SimpleRemoter/server
yuanyuanxianganddeepseek-flash 1d03cbeb3f Feature: add tooltips to the main toolbar and status bar
The main toolbar already carried CBRS_TOOLTIPS/CBRS_FLYBY, but the dialog had
no TTN_NEEDTEXT handler, so hovering produced no usable text. The status bar
had no pane-level tooltip at all: CStatusBar panes are not child windows.

Add a shared tip text builder and ANSI/Unicode TTN_NEEDTEXT handlers. The
toolbar supplies one line per command, noting which actions need a selected
host. The dialog's OnToolHitTest maps the cursor onto status-bar panes, which
report live TLS, MCP, FRP, runtime and licence-expiry text; the hit pane index
is recorded so the delayed text request cannot pick a neighbouring pane. The
status bar is a Unicode window, so the W notification is handled too, decoding
GBK with code page 936 rather than the system ACP. Width is widened for
multi-line tips and every string goes through _TR.

Add the 36 new strings to en_US, zh_TW and de_DE (GBK, literal \n). Toolbar
buttons share one width taken from the longest label, so duplicate keys
(Registry Mgr, Build Server, Keylogger, Connections, 登錄檔管理, 產生伺服器端,
and long German labels) pushed every button to 111px and clipped the last
icons. Shortening the effective labels brings them to 85px so all 19 fit a
1920-wide monitor.

Verified with a Debug x64 build and automated hovering of all 19 buttons plus
6 status panes in en_US, zh_TW and de_DE (25/25 each); zh_CN passed earlier.

Co-Authored-By: deepseek-flash
2026-12-01 18:32:12 +01:00
..