/***
主框架类
*/
下面是所有主框架的命令---------------------------------基本是菜单命令---------------还有热键命令-------------------------
BEGIN_MESSAGE_MAP(CMainFrame, CGuiMDIFrame)
//{{AFX_MSG_MAP(CMainFrame)
ON_WM_CREATE()
ON_WM_TIMER()
ON_WM_SIZE()
ON_WM_CLOSE()
ON_WM_INITMENUPOPUP()
ON_COMMAND(ID_MAINBAR_SETTING, OnMainbarSetting)
ON_COMMAND(ID_MAINBAR_VIEW, OnMainbarView)
ON_COMMAND(ID_MAINBAR_TECH, OnMainbarTech)
ON_COMMAND(ID_MAINBAR_PERIOD, OnMainbarPeriod)
ON_COMMAND(ID_SLISTBAR_GROUP, OnSlistbarGroup)
ON_COMMAND(ID_SLISTBAR_DOMAIN, OnSlistbarDomain)
ON_COMMAND(ID_SLISTBAR_CLASS, OnSlistbarClass)
ON_COMMAND(ID_SYS_CONNECTSERVER, OnSysConnectserver)
ON_UPDATE_COMMAND_UI(ID_SYS_CONNECTSERVER, OnUpdateSysConnectserver)
ON_COMMAND(ID_SYS_DISCONNECTSERVER, OnSysDisconnectserver)
ON_UPDATE_COMMAND_UI(ID_SYS_DISCONNECTSERVER, OnUpdateSysDisconnectserver)
ON_COMMAND(ID_SYS_STARTTONGSHI, OnSysStarttongshi)
ON_UPDATE_COMMAND_UI(ID_SYS_STARTTONGSHI, OnUpdateSysStarttongshi)
ON_COMMAND(ID_SYS_SETUPTONGSHI, OnSysSetuptongshi)
ON_UPDATE_COMMAND_UI(ID_SYS_SETUPTONGSHI, OnUpdateSysSetuptongshi)
ON_COMMAND(ID_SYS_STOPTONGSHI, OnSysStoptongshi)
ON_UPDATE_COMMAND_UI(ID_SYS_STOPTONGSHI, OnUpdateSysStoptongshi)
ON_COMMAND(ID_SYS_AUTOUPGRADE, OnSysAutoupgrade)
ON_COMMAND(ID_SYS_AUTOSAVE, OnSysAutosave)
ON_UPDATE_COMMAND_UI(ID_SYS_AUTOSAVE, OnUpdateSysAutosave)
ON_COMMAND(ID_SYS_NOTIFYICON, OnSysNotifyicon)
ON_UPDATE_COMMAND_UI(ID_SYS_NOTIFYICON, OnUpdateSysNotifyicon)
ON_COMMAND(ID_VIEW_MAINBARTEXT, OnViewMainbartext)
ON_UPDATE_COMMAND_UI(ID_VIEW_MAINBARTEXT, OnUpdateViewMainbartext)
ON_COMMAND(ID_VIEW_FULLSCREEN, OnViewFullscreen)
ON_UPDATE_COMMAND_UI(ID_VIEW_FULLSCREEN, OnUpdateViewFullscreen)
ON_WM_GETMINMAXINFO()
ON_COMMAND(ID_VIEW_WIZARD, OnViewWizard)
ON_UPDATE_COMMAND_UI(ID_VIEW_WIZARD, OnUpdateViewWizard)
ON_COMMAND(ID_VIEW_SIMU, OnViewSimu)
ON_UPDATE_COMMAND_UI(ID_VIEW_SIMU, OnUpdateViewSimu)
ON_COMMAND(ID_VIEW_SLIST, OnViewSlist)
ON_UPDATE_COMMAND_UI(ID_VIEW_SLIST, OnUpdateViewSlist)
ON_COMMAND(ID_VIEW_REALTIME, OnViewRealtime)
ON_UPDATE_COMMAND_UI(ID_VIEW_REALTIME, OnUpdateViewRealtime)
ON_COMMAND(ID_VIEW_MULTISORT, OnViewMultisort)
ON_UPDATE_COMMAND_UI(ID_VIEW_MULTISORT, OnUpdateViewMultisort)
ON_COMMAND(ID_VIEW_GRAPH, OnViewTechgraph)
ON_UPDATE_COMMAND_UI(ID_VIEW_GRAPH, OnUpdateViewTechgraph)
ON_COMMAND(ID_VIEW_BASE, OnViewBase)
ON_UPDATE_COMMAND_UI(ID_VIEW_BASE, OnUpdateViewBase)
ON_COMMAND(ID_VIEW_INFO, OnViewInfo)
ON_UPDATE_COMMAND_UI(ID_VIEW_INFO, OnUpdateViewInfo)
ON_COMMAND(ID_VIEW_SELECTOR, OnViewSelector)
ON_UPDATE_COMMAND_UI(ID_VIEW_SELECTOR, OnUpdateViewSelector)
ON_COMMAND(ID_VIEW_F10, OnViewF10)
ON_UPDATE_COMMAND_UI(ID_VIEW_F10, OnUpdateViewF10)
ON_COMMAND(ID_SLIST_INDEX, OnSlistIndex)
ON_COMMAND(ID_SLIST_STRATEGY, OnSlistStrategy)
ON_COMMAND(ID_SLIST_GROUP, OnSlistGroup)
ON_COMMAND(ID_SLIST_GROUPSELF, OnSlistGroupself)
ON_COMMAND(ID_SLIST_DOMAIN, OnSlistDomain)
ON_COMMAND(ID_SLIST_ALL, OnSlistAll)
ON_COMMAND(ID_SLIST_SHAA, OnSlistShaa)
ON_COMMAND(ID_SLIST_SHAB, OnSlistShab)
ON_COMMAND(ID_SLIST_SZNA, OnSlistSzna)
ON_COMMAND(ID_SLIST_SZNB, OnSlistSznb)
ON_COMMAND(ID_SLIST_SHABOND, OnSlistShabond)
ON_COMMAND(ID_SLIST_SZNBOND, OnSlistSznbond)
ON_COMMAND(ID_SLIST_SHAASORTDP, OnSlistShaasortdp)
ON_COMMAND(ID_SLIST_SHABSORTDP, OnSlistShabsortdp)
ON_COMMAND(ID_SLIST_SZNASORTDP, OnSlistSznasortdp)
ON_COMMAND(ID_SLIST_SZNBSORTDP, OnSlistSznbsortdp)
ON_COMMAND(ID_SLIST_SHABONDSORTDP, OnSlistShabondsortdp)
ON_COMMAND(ID_SLIST_SZNBONDSORTDP, OnSlistSznbondsortdp)
ON_COMMAND(ID_SLIST_SETCOLUMN, OnSlistSetcolumn)
ON_COMMAND(ID_SLIST_BASEINDEX, OnSlistBaseindex)
ON_COMMAND(ID_SLISTBAR_DATE, OnSlistbarDate)
ON_COMMAND(ID_SLISTBAR_NAME, OnSlistbarName)
ON_COMMAND(ID_VIEW_VIEWSZZS, OnViewViewszzs)
ON_COMMAND(ID_VIEW_VIEWSZYBL, OnViewViewszybl)
ON_COMMAND(ID_VIEW_VIEWSZAG, OnViewViewszag)
ON_COMMAND(ID_VIEW_VIEWSZBG, OnViewViewszbg)
ON_COMMAND(ID_VIEW_VIEWSZNCZ, OnViewViewszncz)
ON_COMMAND(ID_VIEW_VIEWSZNZZ, OnViewViewsznzz)
ON_COMMAND(ID_VIEW_VIEWSZNCFAZ, OnViewViewszncfaz)
ON_COMMAND(ID_VIEW_VIEWSZNCFBZ, OnViewViewszncfbz)
ON_COMMAND(ID_VIEW_TECHOPTION, OnViewTechoption)
ON_COMMAND(ID_VIEW_PDAY, OnViewPday)
ON_UPDATE_COMMAND_UI(ID_VIEW_PDAY, OnUpdateViewPday)
ON_COMMAND(ID_VIEW_PWEEK, OnViewPweek)
ON_UPDATE_COMMAND_UI(ID_VIEW_PWEEK, OnUpdateViewPweek)
ON_COMMAND(ID_VIEW_PMONTH, OnViewPmonth)
ON_UPDATE_COMMAND_UI(ID_VIEW_PMONTH, OnUpdateViewPmonth)
ON_COMMAND(ID_VIEW_PMIN5, OnViewPmin5)
ON_UPDATE_COMMAND_UI(ID_VIEW_PMIN5, OnUpdateViewPmin5)
ON_COMMAND(ID_VIEW_PMIN15, OnViewPmin15)
ON_UPDATE_COMMAND_UI(ID_VIEW_PMIN15, OnUpdateViewPmin15)
ON_COMMAND(ID_VIEW_PMIN30, OnViewPmin30)
ON_UPDATE_COMMAND_UI(ID_VIEW_PMIN30, OnUpdateViewPmin30)
ON_COMMAND(ID_VIEW_PMIN60, OnViewPmin60)
ON_UPDATE_COMMAND_UI(ID_VIEW_PMIN60, OnUpdateViewPmin60)
ON_COMMAND(ID_VIEW_LEFT, OnViewLeft)
ON_COMMAND(ID_VIEW_RIGHT, OnViewRight)
ON_COMMAND(ID_VIEW_PAGELEFT, OnViewPageleft)
ON_COMMAND(ID_VIEW_PAGERIGHT, OnViewPageright)
ON_COMMAND(ID_VIEW_HOME, OnViewHome)
ON_COMMAND(ID_VIEW_END, OnViewEnd)
ON_COMMAND(ID_VIEW_ZOOMIN, OnViewZoomin)
ON_COMMAND(ID_VIEW_ZOOMOUT, OnViewZoomout)
ON_COMMAND(ID_VIEW_PREV, OnViewPrev)
ON_COMMAND(ID_VIEW_NEXT, OnViewNext)
ON_COMMAND(ID_VIEW_INSERT, OnViewInsert)
ON_COMMAND(ID_VIEW_NORESUMEDR, OnViewNoresumedr)
ON_UPDATE_COMMAND_UI(ID_VIEW_NORESUMEDR, OnUpdateViewNoresumedr)
ON_COMMAND(ID_VIEW_RESUMEDRUP, OnViewResumedrup)
ON_UPDATE_COMMAND_UI(ID_VIEW_RESUMEDRUP, OnUpdateViewResumedrup)
ON_COMMAND(ID_VIEW_RESUMEDRDOWN, OnViewResumedrdown)
ON_UPDATE_COMMAND_UI(ID_VIEW_RESUMEDRDOWN, OnUpdateViewResumedrdown)
ON_COMMAND(ID_VIEW_MAINDATACLOSE, OnViewMaindataclose)
ON_UPDATE_COMMAND_UI(ID_VIEW_MAINDATACLOSE, OnUpdateViewMaindataclose)
ON_COMMAND(ID_VIEW_MAINDATAOPEN, OnViewMaindataopen)
ON_UPDATE_COMMAND_UI(ID_VIEW_MAINDATAOPEN, OnUpdateViewMaindataopen)
ON_COMMAND(ID_VIEW_MAINDATAAVERAGE, OnViewMaindataaverage)
ON_UPDATE_COMMAND_UI(ID_VIEW_MAINDATAAVERAGE, OnUpdateViewMaindataaverage)
ON_COMMAND(ID_VIEW_KLINECANDLE, OnViewKlinecandle)
ON_UPDATE_COMMAND_UI(ID_VIEW_KLINECANDLE, OnUpdateViewKlinecandle)
ON_COMMAND(ID_VIEW_KLINEAMERICA, OnViewKlineamerica)
ON_UPDATE_COMMAND_UI(ID_VIEW_KLINEAMERICA, OnUpdateViewKlineamerica)
ON_COMMAND(ID_VIEW_KLINETOWER, OnViewKlinetower)
ON_UPDATE_COMMAND_UI(ID_VIEW_KLINETOWER, OnUpdateViewKlinetower)
ON_COMMAND(ID_REALTIME_VIEWSZZS, OnRealtimeViewszzs)
ON_COMMAND(ID_REALTIME_VIEWSZYBL, OnRealtimeViewszybl)
ON_COMMAND(ID_REALTIME_VIEWSZAG, OnRealtimeViewszag)
ON_COMMAND(ID_REALTIME_VIEWSZBG, OnRealtimeViewszbg)
ON_COMMAND(ID_REALTIME_VIEWSZNCZ, OnRealtimeViewszncz)
ON_COMMAND(ID_REALTIME_VIEWSZNZZ, OnRealtimeViewsznzz)
ON_COMMAND(ID_REALTIME_VIEWSZNCFAZ, OnRealtimeViewszncfaz)
ON_COMMAND(ID_REALTIME_VIEWSZNCFBZ, OnRealtimeViewszncfbz)
ON_COMMAND(ID_REALTIME_LEFT, OnRealtimeLeft)
ON_COMMAND(ID_REALTIME_RIGHT, OnRealtimeRight)
ON_COMMAND(ID_REALTIME_HOME, OnRealtimeHome)
ON_COMMAND(ID_REALTIME_END, OnRealtimeEnd)
ON_COMMAND(ID_REALTIME_PREV, OnRealtimePrev)
ON_COMMAND(ID_REALTIME_NEXT, OnRealtimeNext)
ON_COMMAND(ID_REALTIME_ONESTOCK, OnRealtimeOnestock)
ON_COMMAND(ID_REALTIME_TWOSTOCK, OnRealtimeTwostock)
ON_COMMAND(ID_REALTIME_FOURSTOCK, OnRealtimeFourstock)
ON_COMMAND(ID_REALTIME_SIXSTOCK, OnRealtimeSixstock)
ON_COMMAND(ID_REALTIME_NINESTOCK, OnRealtimeNinestock)
ON_UPDATE_COMMAND_UI(ID_REALTIME_ONESTOCK, OnUpdateRealtimeOnestock)
ON_UPDATE_COMMAND_UI(ID_REALTIME_TWOSTOCK, OnUpdateRealtimeTwostock)
ON_UPDATE_COMMAND_UI(ID_REALTIME_FOURSTOCK, OnUpdateRealtimeFourstock)
ON_UPDATE_COMMAND_UI(ID_REALTIME_SIXSTOCK, OnUpdateRealtimeSixstock)
ON_UPDATE_COMMAND_UI(ID_REALTIME_NINESTOCK, OnUpdateRealtimeNinestock)
ON_COMMAND(ID_REALTIME_PRICELINE, OnRealtimePriceline)
ON_COMMAND(ID_REALTIME_REPORTDETAIL, OnRealtimeReportdetail)
ON_COMMAND(ID_REALTIME_MINUTEDETAIL, OnRealtimeMinutedetail)
ON_COMMAND(ID_REALTIME_BIGTRADEDETAIL, OnRealtimeBigtradedetail)
ON_COMMAND(ID_REALTIME_LBDK, OnRealtimeLbdk)
ON_COMMAND(ID_REALTIME_MMLD, OnRealtimeMmld)
ON_UPDATE_COMMAND_UI(ID_REALTIME_PRICELINE, OnUpdateRealtimePriceline)
ON_UPDATE_COMMAND_UI(ID_REALTIME_REPORTDETAIL, OnUpdateRealtimeReportdetail)
ON_UPDATE_COMMAND_UI(ID_REALTIME_MINUTEDETAIL, OnUpdateRealtimeMinutedetail)
ON_UPDATE_COMMAND_UI(ID_REALTIME_BIGTRADEDETAIL, OnUpdateRealtimeBigtradedetail)
ON_UPDATE_COMMAND_UI(ID_REALTIME_LBDK, OnUpdateRealtimeLbdk)
ON_UPDATE_COMMAND_UI(ID_REALTIME_MMLD, OnUpdateRealtimeMmld)
ON_COMMAND(ID_REALTIME_MSSZAG, OnRealtimeMsszag)
ON_COMMAND(ID_REALTIME_MSSZBG, OnRealtimeMsszbg)
ON_COMMAND(ID_REALTIME_MSSZZQ, OnRealtimeMsszzq)
ON_COMMAND(ID_REALTIME_MSSZNAG, OnRealtimeMssznag)
ON_COMMAND(ID_REALTIME_MSSZNBG, OnRealtimeMssznbg)
ON_COMMAND(ID_REALTIME_MSSZNZQ, OnRealtimeMssznzq)
ON_UPDATE_COMMAND_UI(ID_REALTIME_MSSZAG, OnUpdateRealtimeMsszag)
ON_UPDATE_COMMAND_UI(ID_REALTIME_MSSZBG, OnUpdateRealtimeMsszbg)
ON_UPDATE_COMMAND_UI(ID_REALTIME_MSSZZQ, OnUpdateRealtimeMsszzq)
ON_UPDATE_COMMAND_UI(ID_REALTIME_MSSZNAG, OnUpdateRealtimeMssznag)
ON_UPDATE_COMMAND_UI(ID_REALTIME_MSSZNBG, OnUpdateRealtimeMssznbg)
ON_UPDATE_COMMAND_UI(ID_REALTIME_MSSZNZQ, OnUpdateRealtimeMssznzq)
ON_COMMAND(ID_INFO_SELF, OnInfoSelf)
ON_COMMAND(ID_INFO_F10, OnInfoF10)
ON_COMMAND(ID_INFO_STOCKSTAR, OnInfoStockstar)
ON_COMMAND(ID_INFO_SOHU, OnInfoSohu)
ON_COMMAND(ID_INFO_SINA, OnInfoSina)
ON_COMMAND(ID_INFO_163, OnInfo163)
ON_COMMAND(ID_INFO_SHSE, OnInfoShse)
ON_COMMAND(ID_INFO_SZSE, OnInfoSzse)
ON_COMMAND(ID_INFO_HKEX, OnInfoHkex)
ON_COMMAND(ID_INFO_LSE, OnInfoLse)
ON_COMMAND(ID_INFO_NYSE, OnInfoNyse)
ON_COMMAND(ID_INFO_NASDAQ, OnInfoNasdaq)
ON_COMMAND(ID_INFO_P5W, OnInfoP5w)
ON_COMMAND(ID_INFO_SSNEWS, OnInfoSsnews)
ON_COMMAND(ID_INFO_CS, OnInfoCs)
ON_UPDATE_COMMAND_UI(ID_INFO_SELF, OnUpdateInfoSelf)
ON_UPDATE_COMMAND_UI(ID_INFO_F10, OnUpdateInfoF10)
ON_UPDATE_COMMAND_UI(ID_INFO_STOCKSTAR, OnUpdateInfoStockstar)
ON_UPDATE_COMMAND_UI(ID_INFO_SOHU, OnUpdateInfoSohu)
ON_UPDATE_COMMAND_UI(ID_INFO_SINA, OnUpdateInfoSina)
ON_UPDATE_COMMAND_UI(ID_INFO_163, OnUpdateInfo163)
ON_UPDATE_COMMAND_UI(ID_INFO_SHSE, OnUpdateInfoShse)
ON_UPDATE_COMMAND_UI(ID_INFO_SZSE, OnUpdateInfoSzse)
ON_UPDATE_COMMAND_UI(ID_INFO_HKEX, OnUpdateInfoHkex)
ON_UPDATE_COMMAND_UI(ID_INFO_LSE, OnUpdateInfoLse)
ON_UPDATE_COMMAND_UI(ID_INFO_NYSE, OnUpdateInfoNyse)
ON_UPDATE_COMMAND_UI(ID_INFO_NASDAQ, OnUpdateInfoNasdaq)
ON_UPDATE_COMMAND_UI(ID_INFO_P5W, OnUpdateInfoP5w)
ON_UPDATE_COMMAND_UI(ID_INFO_SSNEWS, OnUpdateInfoSsnews)
ON_UPDATE_COMMAND_UI(ID_INFO_CS, OnUpdateInfoCs)
ON_COMMAND(ID_STRATEGY_PROPERTY, OnStrategyProperty)
ON_UPDATE_COMMAND_UI(ID_STRATEGY_PROPERTY, OnUpdateStrategyProperty)
ON_COMMAND(ID_STRATEGY_STOCKS, OnStrategyStocks)
ON_UPDATE_COMMAND_UI(ID_STRATEGY_STOCKS, OnUpdateStrategyStocks)
ON_COMMAND(ID_STRATEGY_SETRULE, OnStrategySetRule)
ON_UPDATE_COMMAND_UI(ID_STRATEGY_SETRULE, OnUpdateStrategySetRule)
ON_COMMAND(ID_STRATEGY_SETRATE, OnStrategySetRate)
ON_UPDATE_COMMAND_UI(ID_STRATEGY_SETRATE, OnUpdateStrategySetRate)
ON_COMMAND(ID_STRATEGY_SIMU, OnStrategySimu)
ON_UPDATE_COMMAND_UI(ID_STRATEGY_SIMU, OnUpdateStrategySimu)
ON_COMMAND(ID_STRATEGY_REPORT, OnStrategyReport)
ON_UPDATE_COMMAND_UI(ID_STRATEGY_REPORT, OnUpdateStrategyReport)
ON_COMMAND(ID_STRATEGY_REALOP, OnStrategyRealOp)
ON_UPDATE_COMMAND_UI(ID_STRATEGY_REALOP, OnUpdateStrategyRealOp)
ON_COMMAND(ID_DATA_DOWNLOAD, OnDataDownload)
ON_COMMAND(ID_DATA_DATASOURCE, OnDataDatasource)
ON_COMMAND(ID_DATA_MANAGE, OnDataManage)
ON_COMMAND(ID_DATA_EXPORT, OnDataExport)
ON_COMMAND(ID_DATA_RECALCULATEYIELD, OnDataRecalculateyield)
ON_COMMAND(ID_OPTION_PROXYSET, OnOptionProxyset)
ON_COMMAND(ID_OPTION_SELECTTRADER, OnOptionSelecttrader)
ON_COMMAND(ID_OPTION_COLOR, OnOptionColor)
ON_COMMAND(ID_OPTION_FONTSLIST, OnOptionFontslist)
ON_COMMAND(ID_OPTION_FONTBASE, OnOptionFontbase)
ON_COMMAND(ID_OPTION_SETGROUP, OnOptionSetgroup)
ON_COMMAND(ID_OPTION_ADDTOSTRATEGY, OnOptionAddtostrategy)
ON_UPDATE_COMMAND_UI(ID_OPTION_ADDTOSTRATEGY, OnUpdateOptionAddtostrategy)
ON_COMMAND(ID_TOOL_TRADER, OnToolTrader)
ON_COMMAND(ID_TOOL_NOTE, OnToolNote)
ON_COMMAND(ID_TOOL_CALCULATOR, OnToolCalculator)
ON_COMMAND(ID_TOOL_FILTERINFO, OnToolFilterinfo)
ON_COMMAND(ID_TOOL_ALARM, OnToolAlarm)
ON_COMMAND(ID_HELP_SHOWHELP, OnHelpShowhelp)
ON_COMMAND(ID_HELP_PURCHASE, OnHelpPurchase)
ON_COMMAND(ID_HELP_PRODUCT, OnHelpProduct)
ON_COMMAND(ID_HELP_REGISTER, OnHelpRegister)
ON_COMMAND(ID_HELP_DECLARE, OnHelpDeclare)
//}}AFX_MSG_MAP
// Global help commands
ON_NOTIFY(TBN_DROPDOWN, IDW_MAINBAR, OnMainBarDropDown )
ON_NOTIFY(TBN_DROPDOWN, IDW_SLISTBAR, OnSlistBarDropDown )
ON_COMMAND_RANGE(ID_SLIST_DOMAIN_START, ID_SLIST_DOMAIN_END, OnSlistDomainRange)
ON_COMMAND_RANGE(ID_SLIST_GROUP_START, ID_SLIST_GROUP_END, OnSlistGroupRange)
ON_COMMAND_RANGE(ID_VIEW_TECH_START, ID_VIEW_TECH_END, OnViewTechRange)
ON_UPDATE_COMMAND_UI_RANGE(ID_VIEW_TECH_START, ID_VIEW_TECH_END, OnUpdateViewTechRange)
ON_COMMAND_RANGE(ID_OPTION_ADDTOGROUP_START, ID_OPTION_ADDTOGROUP_END, OnOptionAddtogroupRange)
ON_UPDATE_COMMAND_UI_RANGE(ID_OPTION_ADDTOGROUP_START, ID_OPTION_ADDTOGROUP_END, OnUpdateOptionAddtogroupRange)
ON_UPDATE_COMMAND_UI(IDW_MENUBAR, OnUpdateControlBarMenu)
ON_COMMAND_EX(IDW_MENUBAR, OnBarCheck )
ON_UPDATE_COMMAND_UI(IDW_MAINBAR, OnUpdateControlBarMenu)
ON_COMMAND_EX(IDW_MAINBAR, OnBarCheck)
ON_UPDATE_COMMAND_UI(IDW_VIEWBAR, OnUpdateControlBarMenu)
ON_COMMAND_EX(IDW_VIEWBAR, OnBarCheck)
ON_UPDATE_COMMAND_UI(IDW_PERIODBAR, OnUpdateControlBarMenu)
ON_COMMAND_EX(IDW_PERIODBAR, OnBarCheck)
ON_UPDATE_COMMAND_UI(IDW_SLISTBAR, OnUpdateControlBarMenu)
ON_COMMAND_EX(IDW_SLISTBAR, OnBarCheck)
ON_UPDATE_COMMAND_UI(IDW_SIMUBAR, OnUpdateControlBarMenu)
ON_COMMAND_EX(IDW_SIMUBAR, OnBarCheck)
ON_UPDATE_COMMAND_UI(IDW_WORKSPBAR, OnUpdateControlBarMenu)
ON_COMMAND(IDW_WORKSPBAR, OnToggleWorkspBar)
ON_MESSAGE(WM_USER_CHECKSN, CreateValid)
ON_MESSAGE(WM_USER_UPDATEBARMENU, OnUpdateBarMenu)
ON_MESSAGE(WM_USER_NIFMESSAGE, OnNifMessage)
ON_MESSAGE(WM_USER_INITDATES, OnInitDates)
ON_MESSAGE(WM_USER_UPDATESLISTVIEW, OnUpdateSlistView)
ON_MESSAGE(WM_APP_STKRECEIVER_ALARM, OnStkReceiverAlarm)
END_MESSAGE_MAP()