Skip to content

Conversation

@Anigx
Copy link

@Anigx Anigx commented Dec 26, 2025

This Pull Request introduces a user interface for configuring the Ping Server address directly within the application and resolves several compilation issues.

Key Changes
UI Enhancement:

Added a "Ping Server" label and editable text field to the "Advanced" section of the General Settings dialog.
Updated
GeneralSettingsDlg
to persist the ping server configuration.
Functionality Improvement:

Modified TrafficMonitorDlg::ApplySettings to apply the new ping server address immediately. Users no longer need to restart the application for the change to take effect.
Compilation & Bug Fixes:

Fixed C2228 and C2006 errors in
PingMonitor.cpp
(removed corrupted HTML entities and fixed string type mismatches).
Fixed C2664 types errors in
TrafficMonitor.cpp
regarding CString/std::wstring conversions.
Fixed a logic error in
TrafficMonitor.cpp
where an assignment (=) was used instead of comparison (==).
Verification
The solution builds successfully with Visual Studio 2022 (v143 toolset) with 0 errors.
Verified that the new UI control is correctly positioned in the General Settings dialog.
Verified that changing the Ping Server IP updates the monitoring target immediately.

- Added Ping Server edit control to General Settings dialog.
- Bind Ping Server setting to PingMonitor with immediate update.
- Fixed compilation errors in PingMonitor.cpp and TrafficMonitor.cpp.
- Resolved layout issues in General Settings dialog.
- Enabled Ping display item support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant