Beispiel #1
0
void CSoundEventsPage::ToggleItem(HTREEITEM hItem)
{
    SoundEvent e = SoundEvent(m_wndTree.GetItemData(hItem));
    if(m_wndTree.GetCheck(hItem))
        m_uSoundEvents &= ~e;
    else
    {
        CString szFilePath = GetEventFilePath(m_SoundFiles[e]);
        if(!szFilePath.IsEmpty())
        {
            m_uSoundEvents |= e;
            m_SoundFiles[e] = szFilePath;
        }
        else
            m_wndTree.SetCheck(hItem, FALSE);
    }

    SetTimer(1, 0, NULL);
}
Beispiel #2
0
void CSoundEventsPage::OnBnClickedButtonEventsQuestionmode()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndQuestionMode.SetWindowText(szFilePath);
}
Beispiel #3
0
void CSoundEventsPage::OnBnClickedButtonEventsDesktopaccessreq()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndDesktopAccessReq.SetWindowText(szFilePath);
}
Beispiel #4
0
void CSoundEventsPage::OnBnClickedButtonEventsTransferend()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndTransferEnd.SetWindowText(szFilePath);
}
Beispiel #5
0
void CSoundEventsPage::OnBnClickedButtonEventsDesktopsession()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndDesktopSession.SetWindowText(szFilePath);
}
Beispiel #6
0
void CSoundEventsPage::OnBnClickedButtonEventsStoppedtalk()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndStopTalkEdit.SetWindowText(szFilePath);
}
Beispiel #7
0
void CSoundEventsPage::OnBnClickedButtonEventsFilesupd()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndFilesUpd.SetWindowText(szFilePath);
}
Beispiel #8
0
void CSoundEventsPage::OnBnClickedButtonEventsChanmessage()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndChanMsgEdit.SetWindowText(szFilePath);
}
Beispiel #9
0
void CSoundEventsPage::OnBnClickedButtonEventsHotkey()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndHotKey.SetWindowText(szFilePath);
}
Beispiel #10
0
void CSoundEventsPage::OnBnClickedButtonEventsNewmessage()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndNewMessage.SetWindowText(szFilePath);
}
Beispiel #11
0
void CSoundEventsPage::OnBnClickedButtonEventsServerlost()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndServerLost.SetWindowText(szFilePath);
}
Beispiel #12
0
void CSoundEventsPage::OnBnClickedButtonEventsUserremoved()
{
    CString szFilePath = GetEventFilePath();
    if(szFilePath.GetLength())
        m_wndUserRemoved.SetWindowText(szFilePath);
}