Feature: add client log dialog with auto-refresh, icon and menu bitmap
- CClientLogManager: push thread sends incremental logs every 3s; join() instead of detach() prevents use-after-free on shutdown - CClientLog::OnReceiveComplete: handles TOKEN_REPORT_LOG on IOCP thread via PostMessage, fixing incremental packets being silently dropped - Dialog icon (ClientLog.ico) and menu bitmap (ClientLog.bmp) added; OnInitDialog loads icon; IDR_MENU_LIST_ONLINE "运行日志" item gets the bitmap Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -271,8 +271,11 @@
|
||||
#define IDB_BITMAP_ACTIVE_WND 390
|
||||
#define IDR_BINARY8 391
|
||||
#define IDR_ANDROID_GHOST 391
|
||||
#define IDB_BITMAP11 392
|
||||
#define IDB_BITMAP_DEBUG 392
|
||||
#define IDD_DIALOG8 393
|
||||
#define IDD_DIALOG_CLIENT_LOG 393
|
||||
#define IDB_BITMAP_CLIENTLOG 395
|
||||
#define IDI_CLIENTLOG 396
|
||||
#define IDC_MESSAGE 1000
|
||||
#define IDC_ONLINE 1001
|
||||
#define IDC_STATIC_TIPS 1002
|
||||
@@ -756,6 +759,7 @@
|
||||
#define IDC_LIST_TRIGGERS 2543
|
||||
#define IDC_STATIC_TRIGGER_TYPE 2544
|
||||
#define IDC_STATIC_TRIGGER_ACTION 2545
|
||||
#define IDC_EDIT_LOG 2546
|
||||
#define ID_ONLINE_UPDATE 32772
|
||||
#define ID_ONLINE_MESSAGE 32773
|
||||
#define ID_ONLINE_DELETE 32775
|
||||
@@ -1015,14 +1019,16 @@
|
||||
#define ID_ONLINE_VIEW_WND 33070
|
||||
#define ID_33071 33071
|
||||
#define ID_ENABLE_DEV_DEBUG 33072
|
||||
#define ID_ONLINE_33073 33073
|
||||
#define ID_ONLINE_CLIENT_LOG 33074
|
||||
#define ID_EXIT_FULLSCREEN 40001
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 393
|
||||
#define _APS_NEXT_COMMAND_VALUE 33073
|
||||
#define _APS_NEXT_RESOURCE_VALUE 397
|
||||
#define _APS_NEXT_COMMAND_VALUE 33075
|
||||
#define _APS_NEXT_CONTROL_VALUE 2542
|
||||
#define _APS_NEXT_SYMED_VALUE 105
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user