BOOL CMainWindowDlg::OnInitDialog()
{
CDialog::OnInitDialog();
//去除任務(wù)欄窗口對(duì)應(yīng)按鈕
ModifyStyleEx (WS_EX_APPWINDOW,WS_EX_TOOLWINDOW );
//記錄狀態(tài)
WritePrivateProfileInt("AddinDemo","AutoShow",
1,"C:\\StockCfg.ini");
//注冊(cè)滬銅行情數(shù)據(jù)
g_pMainFormework->RegReportNotify("CU00",'QS');
//注冊(cè)上證指數(shù)行情數(shù)據(jù)
g_pMainFormework->RegReportNotify("000001",'HS');
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
檢查代碼RegReportNotify你注冊(cè)了沒有,品種要正確設(shè)置,并確保連上行情服務(wù)器