#ifndef __NUUO_MSG_DEFINE_H__
#define __NUUO_MSG_DEFINE_H__

enum {
//
// Description: Build file image finish
//
// Sender: DVD backup module
//
// Receiver: Backup application
//
    WM_DVDBACKUP_BUILD_IMAGE_FINISH = (WM_APP + 1),
//
// Description: Burn file image finish
//
// Sender: DVD backup module
//
// Receiver: Backup application
//
    WM_DVDBACKUP_BURN_IMAGE_FINISH,
//
// Description: Backup init status is OK
//
// Sender: Backup thread
//
// Receiver: Backup and Playback application
//
    WM_BACKUP_INIT_OK,
//
// Description: Backup thread will post message let UI thread
//              update progress bar
//
// Sender: Backup thread
//
// Receiver: Backup and Playback application
//
    WM_BACKUP_UPDATE_UI_PROGRESS,
//
// Description: Backup process is finish
//
// Sender: Backup thread
//
// Receiver: Backup and Playback application
//
    WM_BACKUP_PROCESS_FINISH,
//
// Description: Notify emap the new event is trigged
//
// Sender: Event manager and notify action module
//
// Receiver: Emap
//
    WM_ON_EMAP_NOTIFY,
//
// Description: Notify emap should sync the new settings
//
// Sender: Pos and camera setup dialog
//
// Receiver: Emap
//
    WM_ON_EMAP_UPDATE,
//
// Description: Notify emap that user click lock button now
//
// Sender: MainConsole
//
// Receiver: Emap
//
    WM_ON_EMAP_LOCK,
//
// Description: Notify emap that user click lock button now
//
// Sender: H264player
//
// Receiver: InteSearchDlg
//
    WM_ON_INSERT_EVENT_ITEM,
//
// Description: Notify CEventReportDlg to show or hide itself
//
// Sender: CEventReportDlg
//
// Receiver: CEventReportDlg
//
    WM_EVENT_REPORT_SHOWDIALOG,
//
// Description: Notify CEventReportDlg that a event appear
//
// Sender: CEventReportDlg
//
// Receiver: CEventReportDlg
//
    WM_EVENT_REPORT_EVENTOCCUR,
//
// Description: Notify CEventReportDlg that a event disappear
//
// Sender: CEventReportDlg
//
// Receiver: CEventReportDlg
//
    WM_EVENT_REPORT_EVENTDISAPEAR,
//
// Description: Notify CIPCamSearchDlg that UPnP has searched a device or finished
//
// Sender: CUPnPInfoRetriever
//
// Receiver: CIPCamSearchDlg
//
    WM_IPCAM_SEARCH_DEVICE,
//
// Description: NUEN Server notify CEventNotificationMainDlg that add a client
//
// Sender: CNUENResponder
//
// Receiver: CEventNotificationMainDlg
//
    WM_NUEN_ADDCLIENT,
//
// Description: NUEN Server notify CEventNotificationMainDlg that delete a client
//
// Sender: CNUENResponder
//
// Receiver: CEventNotificationMainDlg
//
    WM_NUEN_DELCLIENT,
//
// Description: NUEN Server notify CEventNotificationMainDlg that delete all client
//
// Sender: CNUENResponder
//
// Receiver: CEventNotificationMainDlg
//
    WM_NUEN_DELALLCLIENT,
//
// Description: Notify CLogListCtrl owner to sort data if enable OWNE_DATA mode
//
// Sender: CLogListCtrl
//
// Receiver: CLogListCtrl owner
//
    WM_LOGLIST_SORT_OWNE_DATA,
//
// Description: Notify CLogViewerDlg that fail to access database and show a error message
//
// Sender: sub page of CLogViewerDlg
//
// Receiver: CLogViewerDlg
//
    WM_LOGVIEWER_SEARCH_DB_FAIL,
//
// Description: Notify Parent Wnd to seek the video
//
// Sender: sub page of CLogViewerDlg
//
// Receiver: CViewerDlg
//
    WM_LOGVIEWER_H264_SEEK,
//
// Description: Notify Parent Wnd to close CLogViewerDlg
//
// Sender: sub page of CLogViewerDlg
//
// Receiver: CViewerDlg
//
    WM_LOGVIEWER_CLOSE,
//
// Description: Notify Parent Wnd that fail to access database
//
// Sender: sub page of CLogViewerDlg
//
// Receiver: CViewerDlg
//
    WM_LOGVIEWER_H264_SEARCH_DB_FAIL,
//
// Description: Notify Parent Wnd to search video by log
//
// Sender: sub page of CLogViewerDlg
//
// Receiver: CViewerDlg
//
    WM_LOGVIEWER_H264_SEARCH_BY_LOG,
//
// Description: Ask Parent Wnd is exceed available channel or not
//
// Sender: sub page of CLogViewerDlg
//
// Receiver: CViewerDlg
//
    WM_LOGVIEWER_IS_EXCEED_PLAYBACK_CHANNEL,
//
// Description: Ask Parent Wnd has video in this channel or not
//
// Sender: sub page of CLogViewerDlg
//
// Receiver: CConsoleDlg / CViewerDlg
//
    WM_LOGVIEWER_HAS_VIDEO_IN_CHANNEL,
//
// Description: Notify Parent Wnd to open instant playback
//
// Sender: sub page of CLogViewerDlg
//
// Receiver: CConsoleDlg
//
    WM_LOGVIEWER_OPNE_INSTANT_PLAYBACK,
//
// Description: Notify NetworkMainDlg to add a client when a client login
//
// Sender: Central Server Service
//
// Receiver: NetworkMainDlg of NCS Server
//
    WM_CC_ADDCLIENT,
//
// Description: Notify NetworkMainDlg to remove a client when a client logout
//
// Sender: Central Server Service
//
// Receiver: NetworkMainDlg of NCS Server
//
    WM_CC_DELCLIENT,
//
// Description: Notify NetworkMainDlg to remove all clients when new configuration committed
//
// Sender: Central Server Service
//
// Receiver: NetworkMainDlg of NCS Server
//
    WM_CC_DELALLCLIENT,
//
// Description: Notify CentralServerDlg to remove all clients when new configuration committed
//
// Sender: Central Server Service
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CS_CONFIGCHANGED,
//
// Description: Notify CentralServerDlg if an exception occurs while executing SQL command
//
// Sender: Alarm Record
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CC_SQLEXCEPTION,
//
// Description: Notify CentralServerDlg when license changed
//
// Sender: Central Server Service
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CC_LICENSECHANGED,
//
// Description: Notify CentralServerDlg to update license information on caption
//
// Sender: Central Server Service
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CC_UPDATEDLG,
//
// Description: Notify CentralServerDlg to terminate NCS Server
//
// Sender: CentralServerDlg
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CC_CLOSE_SERVER,
//
// Description: Notify CentralServerDlg to connect to NUEN Servers
//
// Sender: CentralServerDlg
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CC_OPEN_NUEN,
//
// Description: Notify ConfigDlg that connecting of SQL Server is finished
//
// Sender: thread of SQL Server connector
//
// Receiver: ConfigDlgDlg of NCS Server
//
    WM_CS_CONNECT_SQL_FINISH,
//
// Description: Notify CentralServerDlg that loading configuration is finished
//
// Sender: ConfigDlg
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CS_LOAD_CONFIG_FINISH,
//
// Description: Notify CentralServerDlg that backup is failed and try to redo backup again
//
// Sender: Central backup thread
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CS_RETRY_BACKUP,
//
// Description: Notify CentralServerDlg while operate NCS Server icon on windows system tray
//
// Sender: Window callback of tray operation
//
// Receiver: CentralServerDlg of NCS Server
//
    WM_CS_TRAYNOTIFY,
//
// Description: Notify MatrixDlg to execute matrix operations
//
// Sender: Central Matrix Service
//
// Receiver: MatrixDlg of NCS Matrix
//
    WM_MATRIX_NOFIFY,
//
// Description: Notify MatrixDlg to close NCS Matrix due to dump
//
// Sender: DumpRestartDlg
//
// Receiver: MatrixDlg of NCS Matrix
//
    WM_MATRIX_CLOSE,
//
// Description: Notify PTZPanelDlg that selection of preset is changed
//
// Sender: PTZPanelDlg
//
// Receiver: PTZPanelDlg of NCS Client
//
    WM_USER_SETPRESET,
//
// Description: Notify CReportCtrlRealTime that a column is clicked
//
// Sender: CReportCtrlRealTime
//
// Receiver: CReportCtrlRealTime of NCS Client
//
    WM_REALTIME_CUSTOM,
//
// Description: Notify LiveVideoDlg that the NUSP login is finished
//
// Sender: NUSP login worker thread
//
// Receiver: LiveVideoDlg of NCS Client
//
    WM_POST_NUSP_USER_LOGIN,
//
// Description: Notify WorkspaceBarMatrix that a matrix is disconnected
//
// Sender: NuuoMatrix
//
// Receiver: WorkspaceBarMatrix of NCS Client
//
    WM_MATRIXBAR_MATRIX_CONNECT_FAIL,
//
// Description: Notify WorkspaceBarMatrix that the connection of live view is disconnected
//
// Sender: NuuoMatrix
//
// Receiver: WorkspaceBarMatrix of NCS Client
//
    WM_MATRIXBAR_LIVEVIEW_CONNECT_FAIL,
//
// Description: Notify WorkspaceBarMatrix that the connection to live view is failed due to max connection reaching
//
// Sender: NuuoMatrix
//
// Receiver: WorkspaceBarMatrix of NCS Client
//
    WM_MATRIXBAR_LIVEVIEW_MAX_CONNECTION,
//
// Description: Notify WorkspaceBarMatrix that the login to a Matrix is failed
//
// Sender: NuuoMatrix
//
// Receiver: WorkspaceBarMatrix of NCS Client
//
    WM_MATRIXBAR_MATRIX_LOGIN_FAIL,
//
// Description: Notify WorkspaceBarMatrix that the login to a Matrix is failed due to occupation
//
// Sender: NuuoMatrix
//
// Receiver: WorkspaceBarMatrix of NCS Client
//
    WM_MATRIXBAR_MATRIX_LOGIN_OCCUPIED,
//
// Description: Notify WorkspaceBarMatrix that the login to a Matrix is failed due to version not matched
//
// Sender: NuuoMatrix
//
// Receiver: WorkspaceBarMatrix of NCS Client
//
    WM_MATRIXBAR_MATRIX_LOGIN_VER_NOT_MATCH,
//
// Description: Notify WorkspaceBarMatrix to send a command of IMV operation to NCS Matrix
//
// Sender: PTZControlDlg
//
// Receiver: WorkspaceBarMatrix of NCS Client
//
    WM_MATRIXBAR_IMV_OPERATION,
//
// Description: Notify WorkspaceBarMatrixProfile that the loading a matrix profile is finished
//
// Sender: WorkspaceBarMatrixProfile
//
// Receiver: WorkspaceBarMatrixProfile of NCS Client
//
    WM_MATRIXBAR_LOAD_PROFILE_PROC_FINISH,
//
// Description: Notify MainFrm that an alarm occurred
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_ALARM,
//
// Description: Notify MainFrm to select the indicator related to the alarm clicked
//
// Sender: ReportCtrlRealTime and ReportCtrlAdvance
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_ALARM_CLK,
//
// Description: Notify MainFrm that the NCS Server is disconnected
//
// Sender: MainFrm
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_SERVER_DISCONNECT,
//
// Description: Notify MainFrm the connection status of a device
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_UPDATE_SSCONN,
//
// Description: Notify MainFrm that the configuration is committed by other NCS Client
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CONFIG_CHANGED,
//
// Description: Notify MainFrm that the status of an alarm is changed
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_UPDATE_ALARM,
//
// Description: Notify MainFrm to update the indicator alarm state of a device
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_UPDATE_SSDSTATE,
//
// Description: Notify MainFrm the connection status of a device
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_DEVICE_STATUS,
//
// Description: Notify MainFrm to close the live video dialog
//
// Sender: LiveVideoDlg
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CLOSE_POPUPLIVE,
//
// Description: Notify MainFrm that an alarm is deleted
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_DELETE_ALARM,
//
// Description: Notify MainFrm that the execution of a SQL command is failed
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CRITICAL_SQL_FAIL,
//
// Description: Notify MainFrm that the disk space of NCS Server is low
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CRITICAL_DISK_LOW,
//
// Description: Notify MainFrm that the license of NCS Server is missing
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CRITICAL_LIC_MISS,
//
// Description: Notify MainFrm that an alarm is selected
//
// Sender: ListCtrlRecent and ReportCtrlRealTime
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_SELECTED_ITEN,
//
// Description: Notify CentralView to reconnect live video when stream profile is changed
//
// Sender: StreamControlDlg
//
// Receiver: CentralView of NCS Client
//
    WM_CENTRAL_LIVE_RECONNECT,
//
// Description: Notify CentralView the audio operation
//
// Sender: LiveVideoDlg, RPBDlg, MatrixPanel and WorkspaceBarMatrix
//
// Receiver: CentralView of NCS Client / CConsoleDlg / CLiveViewerDlg / CLiveViewerDualDlg
//
    WM_CENTRAL_GLOBAL_AUDIO,
//
// Description: Notify CentralView to close the RPBDlg
//
// Sender: RPBDlg
//
// Receiver: CentralView of NCS Client / CConsoleDlg / CLiveViewerDlg / CLiveViewerDualDlg
//
    WM_CENTRAL_CLOSE_RPB,
//
// Description: Notify MainFrm the connection status of the SQL Server
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CRITICAL_SQL_STATUS,
//
// Description: Notify MainFrm to show alarm related camera on Matrix
//
// Sender: ListCtrlRecent, ReportCtrlRealTime and ReportCtrlAdvance
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_SHOW_ALARM_CAM,
//
// Description: Notify MainFrm to send the new license to NCS Server
//
// Sender: LicenseManager
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CHANGE_LICENSE,
//
// Description: Notify MainFrm that the license of NCS Server is changed
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_LICENSE_CHANGE,
//
// Description: Notify MainFrm that the disk space of NCS Server is not enough
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CRITICAL_DISK_NOT_ENOUGH,
//
// Description: Notify CentralView to open a LiveVideoDlg
//
// Sender: AlarmDetailDlg
//
// Receiver: CentralView of NCS Client
//
    WM_CENTRAL_OPEN_LIVE_VIEW,
//
// Description: Notify CentralView to open a RPBDlg
//
// Sender: LiveVideoDlg, AlarmDetailDlg, ListCtrlRecent, ReportCtrlAdvance and ReportCtrlRealTime
//
// Receiver: CentralView of NCS Client
//
    WM_CENTRAL_OPEN_RPB,
//
// Description: Notify MainFrm to check server information to notice user to synchronize NVR Server
//
// Sender: MainFrm
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CHECK_SERVER_INFO,
//
// Description: Notify MainFrm to close NCS Client
//
// Sender: MainFrm and DumpRestartDlg
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_CLOSE_CLIENT,
//
// Description: Notify MainFrm the new status of central backup
//
// Sender: Central Client
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_UPDATE_BACKUP_STATUS,
//
// Description: Notify MainFrm to create a alarm video recorder
//
// Sender: ClientSettingDlg
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_OPEN_RECORDING,
//
// Description: Notify MainFrm to change alarm video recording path
//
// Sender: ClientSettingDlg
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_MODIFY_RECORD_PATH,
//
// Description: Notify CentralView the talk operation
//
// Sender: LiveVideoDlg and WorkspaceBarMatrix
//
// Receiver: CentralView of NCS Client
//
    WM_CENTRAL_ENABLE_TALK,
//
// Description: Notify CentralView the talk connection is disconnected
//
// Sender: CentralTalkManager
//
// Receiver: CentralView of NCS Client
//
    WM_CENTRAL_TALK_DISCONNECT,
//
// Description: Notify MainFrm the a alarm video recording is finished
//
// Sender: CentralAlarmRecorder
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_SAVE_RECORD_FINISH,
//
// Description: Notify CentralView to save the position of all live video dialogs
//
// Sender: LiveVideoDlg
//
// Receiver: CentralView of NCS Client
//
    WM_CENTRAL_SAVE_LIVEVIEW_POS,
//
// Description: Notify CentralView that the live viewer failed to create a multi-media timer
//
// Sender: LiveVideoDlg
//
// Receiver: CentralView of NCS Client
//
    WM_CENTRAL_CREATE_MM_TIMER_FAIL,
//
// Description: Notify MainFrm that the virtual memory of NCS Server is exhausted
//
// Sender: CentralClient
//
// Receiver: MainFrm of NCS Client
//
    WM_CENTRAL_SERVER_VM_LOW,
//
// Description: Notify CNetworkDlg to apply settings to all CBlackWhiteListDlg
//
// Sender: CBlackWhiteListDlg
//
// Receiver: CNetworkDlg
//
    WM_NETWORKDLG_APPLYALL,
//
// Description: Notify CSCDLivePreview that motion on which channel has been detected  
//
// Sender: CCodecPreviewFileManager / CScheduleEncodeDlg
//
// Receiver: CSCDLivePreview
//
    WM_ON_MOTIONDETECTED,
//
// Description: Notify CConsoleDlg to do the mouse wheel zoom action
//
// Sender: CNUSPResponder
//
// Receiver: CConsoleDlg
//
    MSG_MOUSE_WHEEL_ZOOM,
//
// Description: Ask CConsoleDlg to show warning message of the network service
//
// Sender: CConsoleDlg
//
// Receiver: CConsoleDlg
//
    MSG_NETWORK_SERVICE_STARTUP_WARNING,
//
// Description: Notify CConsoleDlg / CLoginDlg to do system tray actions
//
// Sender: CConsoleDlg / CLoginDlg
//
// Receiver: CConsoleDlg / CLoginDlg
//
    UM_TRAYNOTIFY,
//
// Description: Notify CResourceHistoryLogPage that search was finish
//
// Sender: CResourceHistorySearch
//
// Receiver: CResourceHistoryLogPage
//
    WM_FINISH,
//
// Description: Notify CResourceHistoryLogPage that data was found
//
// Sender: CResourceHistorySearch
//
// Receiver: CResourceHistoryLogPage
//
    WM_FIND_DATA,
//
// Description: Notify CScheduleEncodeDlg to enable preview audio
//
// Sender: CScheduleEncodeDlg
//
// Receiver: CScheduleEncodeDlg
//
    ID_SCHEDULEPREVIEW_SETENABLEAUDIO,
//
// Description: ID of motion detect timer
//
// Sender: CScheduleEncodeDlg
//
// Receiver: CScheduleEncodeDlg
//
    ID_MOTION_DETECTOR_TIMER,
//
// Description: Notify CTransCodingSetupDlg to enable preview audio
//
// Sender: CTransCodingSetupDlg
//
// Receiver: CTransCodingSetupDlg
//
    ID_TRANCODING_SETENABLEAUDIO,
//
// Description: Notify CTransCodingSetupDlg to update ipcam's original video resolution
//
// Sender: CTransCodingSetupDlg
//
// Receiver: CTransCodingSetupDlg
//
    ID_SET_ORIGINAL_RESOLUTION_TEXT,
//
// Description: Notify CRepairDBDlg that operation was finish
//
// Sender: CRepairDBHandler
//
// Receiver: CRepairDBDlg
//
    WM_FINISH_OPERATION,
//
// Description: Notify CRepairDBDlg to update information
//
// Sender: CRepairDBHandler
//
// Receiver: CRepairDBDlg
//
    WM_UPDATE_INFO,
//
// Description: Notify CRepairDBDlg to update scroll status
//
// Sender: CRepairDBHandler
//
// Receiver: CRepairDBDlg
//
    WM_UPDATE_SCROLL,
//
// Description: Notify CConsoleDlg to show event message box
//
// Sender: CConsoleDlg / Scheduler / COnScreenNotifyAction / CEventActionManager / CTalkManager
//
// Receiver: CConsoleDlg
//
    WM_CONSOLE_NOTIFY,
//
// Description: Notify CConsoleDlg to show IMMERVISION message box
//
// Sender: CConsoleDlg / Scheduler
//
// Receiver: CConsoleDlg
//
    WM_POPUPMSGBOX,
//
// Description: Notify CConsoleDlg to show write HD error message box
//
// Sender: CConsoleDlg
//
// Receiver: CConsoleDlg
//
    WM_WRITE_HD_ERROR,
//
// Description: Notify CDateTimeSearchDlg to select a raw
//
// Sender: CRecordDiagram
//
// Receiver: CDateTimeSearchDlg
//
    WM_SELECT_ROW_MESSAGE,
//
// Description: Notify CDateTimeSearchDlg to deselect all
//
// Sender: CRecordDiagram
//
// Receiver: CDateTimeSearchDlg
//
    WM_DESELECTALL_CAMERA,
//
// Description: Notify CDateTimeSearchDlg to select all
//
// Sender: CRecordDiagram
//
// Receiver: CDateTimeSearchDlg
//
    WM_SELECTALL_CAMERA,
//
// Description: Notify CDateTimeSearchDlg to set start date time
//
// Sender: CRecordDiagram
//
// Receiver: CDateTimeSearchDlg
//
    WM_SET_START_DATE_TIME,
//
// Description: Notify CDateTimeSearchDlg to set end date time
//
// Sender: CRecordDiagram
//
// Receiver: CDateTimeSearchDlg
//
    WM_SET_END_DATE_TIME,
//
// Description: Notify CDateTimeSearchDlg to start preview
//
// Sender: CRecordDiagram
//
// Receiver: CDateTimeSearchDlg
//
    WM_START_PREVIEW,
//
// Description: Get show event
//
// Sender: CRecordDiagram / CEventGridCtrl / CDateTimeSearchDlg
//
// Receiver: CDateTimeSearchDlg / CViewerDlg
//
    WM_GET_SHOW_EVENT,
//
// Description: Get event color
//
// Sender: CRecordDiagram / CEventGridCtrl / CDateTimeSearchDlg
//
// Receiver: CDateTimeSearchDlg / CViewerDlg
//
    WM_GET_COLORREF,
//
// Description: Set event color
//
// Sender: CEventGridCtrl
//
// Receiver: CViewerDlg
//
    WM_SET_COLORREF,
//
// Description: Set show event
//
// Sender: CEventGridCtrl
//
// Receiver: CViewerDlg
//
    WM_SET_SHOW_EVENT,
//
// Description: Get pointer of monitor vector
//
// Sender: CDateTimeSearchDlg
//
// Receiver: CViewerDlg
//
    WM_GET_MONITOR,
//
// Description: Disable control
//
// Sender: CH264Player / CDateTimeSearchDlg
//
// Receiver: CViewerDlg
//
    WM_DISABLE_CONTROL,
//
// Description: Show serial error message box
//
// Sender: CSerialManager
//
// Receiver: CConsoleDlg
//
    WM_SERIALERROR,
//
// Description: Set all visible modeless dialog to top most
//
// Sender: CConsoleDlg / CConsoleDualDlg
//
// Receiver: CConsoleDlg
//
    WM_AUXTOPMOST,
//
// Description: Bypass POS data from callback function
//
// Sender: CPosTagFilterDlg
//
// Receiver: CPosTagFilterDlg
//
    WM_POS_TAG_FILTER_ON_DATA_CALLBACK,
//
// Description: Ask ConsoleDlg to open Instant Playback dialog
//
// Sender: CPosSearchDlg
//
// Receiver: CConsoleDlg
//
    WM_OPEN_INSTANT_PLAYBACK_BY_POS_SEARCH,
//
// Description: Ask ConsoleDlg if there is video for some channel in a specific time
//
// Sender: CPosSearchDlg
//
// Receiver: CConsoleDlg
//
    WM_HAS_VIDEO_IN_CHANNEL_BY_POS_SEARCH,
//
// Description: Start to play sound
//
// Sender: CPlaySound
//
// Receiver: CPlaySound
//
    WM_PLAYSOUND_STARTPLAYING,
//
// Description: Stop playing sound
//
// Sender: CPlaySound
//
// Receiver: CPlaySound
//
    WM_PLAYSOUND_STOPPLAYING,
//
// Description: Write sound data to output device
//
// Sender: CPlaySound
//
// Receiver: CPlaySound
//
    WM_PLAYSOUND_PLAYBLOCK,
//
// Description: Pauses playback output device
//
// Sender: CPlaySound
//
// Receiver: CPlaySound
//
    WM_PLAYSOUND_PAUSE,
//
// Description: Stops playback and resets
//
// Sender: CPlaySound
//
// Receiver: CPlaySound
//
    WM_PLAYSOUND_RESET,
//
// Description: Disable OK button in CUserAccountSetupPage
//
// Sender: CUserAuthPage
//
// Receiver: CUserAccountSetupPage
//
    WM_DISABLE_USER_ACCOUNT_SETUP_PAGE_OK_BUTTON,
//
// Description: Disable layout button in CViewerDlg
//
// Sender: CH264Player
//
// Receiver: CViewerDlg
//
    WM_DISABLE_LAYOUT_BUTTON,
//
// Description: Reset select time in DateTimeSearchDlg
//
// Sender: CRecordDiagram
//
// Receiver: CDateTimeSearchDlg
//
    WM_RESET_SELECT_TIME,
//
// Description: Popup message box at startup if necessary
//
// Sender: CConsoleDlg
//
// Receiver: CConsoleDlg
//
    WM_CHECK_POPUP_MSG_AT_STARTUP,
//
// Description: Popup eMap warning message box
//
// Sender: CEventActionManager
//
// Receiver: CEMapDlg
//
    WM_EMAP_POPUP_WARNING_MSG, 

//
// Description: LButtonup event in RecordDiagram
//
// Sender: RecordDiagram.cpp
//
// Receiver: DateTimeSearchDlg
//
    WM_LBUTTONUP_ROW_MESSAGE,

// Description: Refresh IOCtrlPanel refresh message
//
// Sender: IOSetupPage, IOControlPanelDlg
//
// Receiver: IOControlPanelDlg
//
    WM_IO_PANEL_REFRESH_MSG,
// Description: Start IOCtrlPanel stop message
//
// Sender: IOSetupPage, IOControlPanelDlg
//
// Receiver: IOControlPanelDlg
//
    WM_IO_PANEL_STOP_TIMER_MSG,
// Description: Start IOCtrlPanel start message
//
// Sender: IOSetupPage, IOControlPanelDlg
//
// Receiver: IOControlPanelDlg
//
    WM_IO_PANEL_START_TIMER_MSG,
//
// Description: Popup eMap count down message box
//
// Sender: CEventActionManager
//
// Receiver: CEMapDlg
//
    WM_EMAP_COUNTDOWN_WARNING_MSG,

// Description: License popup message
//
// Sender: CCentralServer::SetLicense
//
// Receiver: CCentralServerDlg
//
    WM_CC_LICENSE_MSGBOX,
// Description: enable/disable screen talk
//
// Sender: CTalkManager::TalkToCamera
//
// Receiver: CConsoleDlg
//
    WM_TALKMGR_SET_SCREEN_TALK,
// Description: check if system drive capacity is too small
//
// Sender: CConsoleDlg
//
// Receiver: CConsoleDlg
//
    WM_CHECK_SYSTEM_DRIVE_FREE_SPACE,
// Description: check if system drive capacity is too small
//
// Sender: CDateTimeSearchDlg
//
// Receiver: CViewerDlg, BackupView
//
    WM_GET_LAST_SEL_DATE,
// Description: show auto-upgrade confirmation messagebox
//
// Sender: CConsoleDlg::CConsoleDlgTimerWorker
//
// Receiver: CConsoleDlg
//
    WM_SHOW_AUTOUPGRADE_MSGBOX,
// Description: make Mainconsole display sound 
//
// Sender: CSoundNotifyAction::Trigger
//
// Receiver: CConsoleDlg
//
    WM_PLAYSOUND,
// Description: when get header packet, notify dialog current video format
//
// Sender: CScheduleEncodeDlg
//
// Receiver: CScheduleEncodeDlg
//
    ID_SCHEDULE_ENCODE_DIALOG_SHOW_VIDEO_FORMAT,
// Description: when ipcam resolution changed, notify dialog current resolution
//
// Sender: CScheduleEncodeDlg
//
// Receiver: CScheduleEncodeDlg
//
    ID_SCHEDULE_ENCODE_DIALOG_SHOW_RESOLUTION,
// Description: enable non - play function button when use logviewer
//
// Sender: CLogViewerDlg
//
// Receiver: ViewerDlg
//
   WM_ENABLE_NON_PLAY_BUTTON,
//
// Description: Notify DateTimeSearchDlg that the mouse is out of the RecordDigram
//
// Sender: CRecordDiagram
//
// Receiver: CDateTimeSearchDlg
//
    WM_MOUSE_OUT_RECORD_DIAGRAM,
//
// Description: Notify user that MSAD domain has changed
//
// Sender: CMSADSelectGroupDlg
//
// Receiver: CMSADSelectGroupDlg
//
    WM_MSAD_DOMAIN_CHANGED,
//
// Description: Notify CentralView to open a RPBDlg by Alarm
//
// Sender: LiveVideoDlg, AlarmDetailDlg, ListCtrlRecent, ReportCtrlAdvance and ReportCtrlRealTime
//
// Receiver: CentralView of NCS Client
//
    WM_CENTRAL_OPEN_ALARM_RPB,
//
// Description: Notify Central LiveViewDlg to change DPTZ
//
// Sender: CPTZPanelDlg
//
// Receiver: LiveVideoDlg of NCS Client
//
    WM_CENTRAL_DPTZ_STATE,
//
// Description: Notify WorkspaceBarMatrix to send a command of DPTZ operation to NCS Matrix
//
// Sender: PTZControlDlg
//
// Receiver: WorkspaceBarMatrix of NCS Client
//
    WM_MATRIXBAR_DPTZ_OPERATION,
//
// Description: Notify CentralView to reconnect
//
// Sender: LiveView
//
// Receiver: CentralView of NCS Client
//
    WM_LIVE_CONNECT,
//
// Description: Notify that user account password isn't be confirmed
//
// Sender: CUserAccountInfoPage, CUserAccountSetupPage
//
// Receiver: CUserAccountInfoPage
//
    WM_USER_PWD_NON_COMFIRM,
//
// Description: Notify that a button of the joystick has been pressed
//
// Sender: CMainFrm of NCS Client
//
// Receiver: CJoystickSetupPage of NCS Client
//
    WM_JOYSTICK_BUTTON_DOWN,
//
// Description: Notify that a joystick operation needs to be performed
//
// Sender: CMainFrm of NCS Client
//
// Receiver: CWorkspaceBarMatrix, CLiveVideoDlg and CRPBDlg of NCS Client
//
    WM_JOYSTICK_OPERATION,
//
// Description: Notify that user account name is invalid
//
// Sender: CUserAccountInfoPage, CUserAccountSetupPage
//
// Receiver: CUserAccountInfoPage
//
    WM_USER_NAME_INVALID
};

#endif // __NUUO_MSG_DEFINE_H__
