diff --git a/MusicPlayer2/AppearanceSettingDlg.cpp b/MusicPlayer2/AppearanceSettingDlg.cpp index 98990fdc..ca6853f2 100644 --- a/MusicPlayer2/AppearanceSettingDlg.cpp +++ b/MusicPlayer2/AppearanceSettingDlg.cpp @@ -183,6 +183,8 @@ BOOL CAppearanceSettingDlg::OnInitDialog() m_toolTip.AddTool(&m_color_static5, CCommon::LoadText(IDS_PINK)); m_toolTip.AddTool(&m_color_static6, CCommon::LoadText(IDS_LIGHT_PURPLE)); + m_toolTip.SetWindowPos(&CWnd::wndTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE); + DrawColor(); ////设置“更多颜色”按钮的可用状态 diff --git a/MusicPlayer2/CHotKeySettingDlg.cpp b/MusicPlayer2/CHotKeySettingDlg.cpp index bd4af1fc..46dcf9f5 100644 --- a/MusicPlayer2/CHotKeySettingDlg.cpp +++ b/MusicPlayer2/CHotKeySettingDlg.cpp @@ -89,6 +89,8 @@ BOOL CHotKeySettingDlg::OnInitDialog() m_toolTip.SetMaxTipWidth(theApp.DPI(300)); m_toolTip.AddTool(GetDlgItem(IDC_ENABLE_GLOBAL_MULTIMEDIA_KEY_CHECK), CCommon::LoadText(IDS_MULTI_MEDIA_KEY_TIP)); + m_toolTip.SetWindowPos(&CWnd::wndTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE); + m_key_list.SetExtendedStyle(LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES | LVS_EX_LABELTIP); m_key_list.InsertColumn(0, CCommon::LoadText(IDS_FUNCTION), LVCFMT_LEFT, theApp.DPI(130)); m_key_list.InsertColumn(1, CCommon::LoadText(IDS_SHORTCUT_KEY), LVCFMT_LEFT, theApp.DPI(170)); diff --git a/MusicPlayer2/CPlayerUI2.cpp b/MusicPlayer2/CPlayerUI2.cpp index 396b1866..822fc103 100644 --- a/MusicPlayer2/CPlayerUI2.cpp +++ b/MusicPlayer2/CPlayerUI2.cpp @@ -53,7 +53,7 @@ void CPlayerUI2::DrawInfo(bool reset) CRect rc_tmp; //绘制全屏图标 int full_screen_icon_size = 0; - int margin_tmp = 0;; + int margin_tmp = 0; if(m_ui_data.full_screen) { full_screen_icon_size = DPI(28); diff --git a/MusicPlayer2/DataSettingsDlg.cpp b/MusicPlayer2/DataSettingsDlg.cpp index a6813c9a..f1a40ebf 100644 --- a/MusicPlayer2/DataSettingsDlg.cpp +++ b/MusicPlayer2/DataSettingsDlg.cpp @@ -79,6 +79,8 @@ BOOL CDataSettingsDlg::OnInitDialog() //m_toolTip.AddTool(GetDlgItem(IDC_SF2_PATH_EDIT), _T("需要额外的音色库才能播放 MIDI 音乐。")); m_toolTip.AddTool(GetDlgItem(IDC_MIDI_USE_INNER_LYRIC_CHECK), CCommon::LoadText(IDS_MIDI_INNER_LYRIC_TIP_INFO)); + m_toolTip.SetWindowPos(&CWnd::wndTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE); + GetDlgItem(IDC_BROWSE_BUTTON)->EnableWindow(theApp.m_format_convert_dialog_exit); //正在进行格式转换时不允许更改音色库 m_sf2_path_edit.EnableWindow(theApp.m_format_convert_dialog_exit); diff --git a/MusicPlayer2/LyricSettingsDlg.cpp b/MusicPlayer2/LyricSettingsDlg.cpp index 29ad6407..4af12398 100644 --- a/MusicPlayer2/LyricSettingsDlg.cpp +++ b/MusicPlayer2/LyricSettingsDlg.cpp @@ -99,6 +99,8 @@ BOOL CLyricSettingsDlg::OnInitDialog() m_tool_tip.AddTool(GetDlgItem(IDC_LYRIC_PATH_EDIT), CCommon::LoadText(IDS_LYRIC_PATH_TIP_INFO)); m_tool_tip.AddTool(GetDlgItem(IDC_SHOW_LYRIC_IN_CORTANA), CCommon::LoadText(IDS_CORTANA_SHOW_LYRIC_TIP_INFO)); + m_tool_tip.SetWindowPos(&CWnd::wndTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE); + m_cortana_color_combo.AddString(CCommon::LoadText(IDS_FOLLOWING_SYSTEM)); m_cortana_color_combo.AddString(CCommon::LoadText(IDS_BLACK)); m_cortana_color_combo.AddString(CCommon::LoadText(IDS_WHITE));