本文整理汇总了C++中CAboutDlg类的典型用法代码示例。如果您正苦于以下问题:C++ CAboutDlg类的具体用法?C++ CAboutDlg怎么用?C++ CAboutDlg使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了CAboutDlg类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: OnAbout
void CMultiMoveClientDlg::OnAbout()
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
示例2: OnHelpAbout
void CISenTekAssistantDlg::OnHelpAbout()
{
// TODO: 在此加入您的命令處理常式程式碼
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
示例3: pLock
//.........这里部分代码省略.........
CopyMemory(pChannel1->CallType, CA_BACK, MAX_CALLTYPE);
Network.SetChannel( pChannel1 );
pChannel1->m_bConnected = 1;
CUserChannel2* pChannel2 = new CUserChannel2(10, "test");
pChannel2->m_bConnected = 1;
Network.SetChannel( pChannel2 );
pChannel1->m_nTaskId = pChannel2->m_nChan;
pChannel2->m_nTaskId = pChannel1->m_nChan;
CString str = "SVR 96031555 WALK2";
CPacket* pPacket = CPacketCore::ReadBuffer((BYTE*)str.GetBuffer(0), str.GetLength());
pChannel2->OnPacket( pPacket );
pPacket->Release();
}
else
if ((aaa % 2) == 0)
{
pChannel1 = Network.MakeChannel(100, "0");
CopyMemory(pChannel1->LocalId, "96031", MAX_PHONE);
CopyMemory(pChannel1->RemoteId, "13867877813", MAX_PHONE);
CopyMemory(pChannel1->CallType, CA_BACK, MAX_CALLTYPE);
Network.SetChannel( pChannel1 );
pChannel1->m_bConnected = 1;
CUserChannel2* pChannel2 = new CUserChannel2(10, "test");
pChannel2->m_bConnected = 1;
Network.SetChannel( pChannel2 );
pChannel1->m_nTaskId = pChannel2->m_nChan;
pChannel2->m_nTaskId = pChannel1->m_nChan;
CString str = "SVR 96031222 M13055206933#\\\\192.168.0.11\\info_file\\歌曲\\很爱很爱你.pcm";
CPacket* pPacket = CPacketCore::ReadBuffer((BYTE*)str.GetBuffer(0), str.GetLength());
pChannel2->OnPacket( pPacket );
pPacket->Release();
}
else
{
pChannel1 = Network.MakeChannel(100, "1234");
CopyMemory(pChannel1->LocalId, "96031234", MAX_PHONE);
CopyMemory(pChannel1->RemoteId, "13867877813", MAX_PHONE);
CopyMemory(pChannel1->CallType, CA_BACK, MAX_CALLTYPE);
Network.SetChannel( pChannel1 );
pChannel1->m_bConnected = 1;
}
#endif
#ifdef NPICKUP
EVTBLK evtblk;
evtblk.nReference=100;
#if 0 //pager发信
evtblk.wEventCode=E_FEE_Login; evtblk.dwParam=S_FEE_Connected;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_TALKING;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_STANDBY;
Network.PutBlock( &evtblk);
#endif
#if 0 //人工转传真发信
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_RINGING;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_TALKING;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_PROC_PlayEnd; evtblk.dwParam=0;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_PROC_FaxEnd; evtblk.dwParam=0;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_STANDBY;
Network.PutBlock( &evtblk);
#endif
#if 1 //人工转222代留言
if ((aaa % 2) ==0)
{evtblk.wEventCode=E_PROC_PlayEnd; evtblk.dwParam=0;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_PROC_RecordEnd; evtblk.dwParam=0;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_STANDBY;
Network.PutBlock( &evtblk);
return;
}
#endif
#if 1 //人工转555
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_RINGING;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_TALKING;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_PROC_PlayEnd; evtblk.dwParam=0;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_PROC_FaxEnd; evtblk.dwParam=0;
Network.PutBlock( &evtblk);
evtblk.wEventCode=E_CHG_ChState; evtblk.dwParam=S_CALL_STANDBY;
Network.PutBlock( &evtblk);
#endif
return;
#endif
CAboutDlg dlg;
dlg.DoModal();
}
示例4: OnSkinmagic
void CMFCControlsDlg::OnSkinmagic()
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
示例5:
// App command to run the dialog
void CXFLR5App::OnAppAbout()
{
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}
示例6: About
// show the about dialog here
void CAutomateEmbeddingApp::About(void)
{
CAboutDlg dlg;
dlg.DoModal();
}
示例7: OnAppAbout
// App command to run the dialog
void CVpApp::OnAppAbout()
{
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}
示例8: OnAppAbout
void CMakeGifApp::OnAppAbout() {
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}
示例9: OnHelpAbout
void CTetrisDlg::OnHelpAbout()
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
示例10: FilterAbout
// show the about dialog here
void CFilterVarianceApp::FilterAbout(void)
{
CAboutDlg dlg;
dlg.DoModal();
}
示例11:
void CBookManageDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
CAboutDlg dlg;
dlg.DoModal();
}
示例12: OnMenuAbout
void CFiveDlg::OnMenuAbout()
{
// TODO: Add your command handler code here
CAboutDlg dlg;
dlg.DoModal();
}
示例13: OnAppAbout
void CInterVALApp::OnAppAbout() {
CAboutDlg aboutDlg;
aboutDlg.DoModal();
} // OnAppAbout
示例14: OnAbout
void CDrvDlg::OnAbout(void)
{
CAboutDlg dlg;
dlg.DoModal();
return;
} // CDrvDlg::OnAbout()
示例15: OnAppAbout
LRESULT CMainFrame::OnAppAbout(WORD, WORD, HWND, BOOL&)
{
CAboutDlg dlg;
dlg.DoModal();
return 0;
}