Skip to content

Commit

Permalink
“播放设置”对话框布局调整,确保“播放设备”列表控件没有水平滚动条
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongyang219 committed Aug 15, 2024
1 parent bf94c3d commit 3415efd
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions MusicPlayer2/MusicPlayer2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1188,52 +1188,52 @@ BEGIN
PUSHBUTTON "Cancel",IDCANCEL,114,44,50,14
END

IDD_PLAY_SETTING_DIALOG DIALOGEX 0, 0, 344, 348
IDD_PLAY_SETTING_DIALOG DIALOGEX 0, 0, 323, 348
STYLE DS_SETFONT | WS_CHILD | WS_SYSMENU
FONT 9, "微软雅黑", 400, 0, 0x0
BEGIN
GROUPBOX "Play Options",IDC_TXT_OPT_PLAY_PLAY_OPT_STATIC,7,4,330,61
GROUPBOX "Play Options",IDC_TXT_OPT_PLAY_PLAY_OPT_STATIC,7,4,309,61
CONTROL "Stop playing when an error occurs",IDC_STOP_WHEN_ERROR,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,16,146,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,16,141,8
CONTROL "Auto play when the program starts",IDC_AUTO_PLAY_WHEN_START_CHECK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,170,16,160,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,16,145,8
CONTROL "Show playing progress in the taskbar",IDC_SHOW_TASKBAR_PROGRESS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,28,146,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,28,141,8
CONTROL "Show playing status icon in the taskbar",IDC_SHOW_PLAY_STATE_ICON_CHECK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,170,28,160,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,28,145,8
CONTROL "Sound fade in and out effect",IDC_SOUND_FADE_CHECK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,40,146,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,40,141,8
CONTROL "Continue playing when switch playlist",IDC_CONTINUE_WHEN_SWITCH_PLAYLIST_CHECK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,170,40,160,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,40,145,8
CONTROL "Use system media transport controls",IDC_USE_MEDIA_TRANS_CONTORL_CHECK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,52,316,8
GROUPBOX "Player Kernal",IDC_TXT_OPT_PLAY_CORE_STATIC,7,71,330,40
CONTROL "BASS",IDC_BASS_RADIO,"Button",BS_AUTORADIOBUTTON,14,84,146,8
CONTROL "MCI (Media Control Interface)",IDC_MCI_RADIO,"Button",BS_AUTORADIOBUTTON,170,84,160,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,52,294,8
GROUPBOX "Player Kernal",IDC_TXT_OPT_PLAY_CORE_STATIC,7,71,309,40
CONTROL "BASS",IDC_BASS_RADIO,"Button",BS_AUTORADIOBUTTON,14,84,141,8
CONTROL "MCI (Media Control Interface)",IDC_MCI_RADIO,"Button",BS_AUTORADIOBUTTON,163,84,145,8
CONTROL "FFMPEG",IDC_FFMPEG_RADIO,"Button",BS_AUTORADIOBUTTON,14,96,39,8
CONTROL "<a>Click here to download</a>",IDC_FFMPEG_DOWN_SYSLINK,
"SysLink",WS_TABSTOP,60,96,270,8
GROUPBOX "Play Device",IDC_TXT_OPT_PLAY_DEVICE_STATIC,7,118,330,87
"SysLink",WS_TABSTOP,56,96,99,8
GROUPBOX "Play Device",IDC_TXT_OPT_PLAY_DEVICE_STATIC,7,118,309,87
LTEXT "Select play device:",IDC_TXT_OPT_PLAY_DEVICE_SEL_STATIC,14,131,30,8,SS_ENDELLIPSIS
COMBOBOX IDC_OUTPUT_DEVICE_COMBO,50,129,280,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "",IDC_OUTPUT_DEVICE_INFO_LIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,14,146,316,52
GROUPBOX "FFMPEG Core Settings",IDC_TXT_OPT_PLAY_FFMPEG_CORE_SETTING_STATIC,7,210,330,81
RTEXT "Cache duration (sec):",IDC_TXT_OPT_PLAY_FFMPEG_CORE_CACHE_LENGTH_STATIC,14,222,146,8,SS_ENDELLIPSIS
EDITTEXT IDC_FFMPEG_CACHE_LENGTH,170,220,50,12,ES_AUTOHSCROLL
RTEXT "Max retry attempts (-1 for unlimited):",IDC_TXT_OPT_PLAY_FFMPEG_CORE_MAX_RETRY_COUNT_STATIC,14,236,146,8,SS_ENDELLIPSIS
EDITTEXT IDC_FFMPEG_MAX_RETRY_COUNT,170,234,50,12,ES_AUTOHSCROLL
RTEXT "Non-local file retry interval (sec):",IDC_TXT_OPT_PLAY_FFMPEG_CORE_URL_RETRY_INTERVAL_STATIC,14,250,146,8,SS_ENDELLIPSIS
EDITTEXT IDC_FFMPEG_URL_RETRY_INTERVAL,170,248,50,12,ES_AUTOHSCROLL
RTEXT "Max wait time for seeking (ms):",IDC_TXT_OPT_PLAY_FFMPEG_CORE_MAX_WAIT_TIME_STATIC,14,264,146,8,SS_ENDELLIPSIS
EDITTEXT IDC_FFMPEG_MAX_WAIT_TIME,170,262,50,12,ES_AUTOHSCROLL
CONTROL "Enable WASAPI",IDC_FFMPEG_ENABLE_WASAPI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,277,146,8
COMBOBOX IDC_OUTPUT_DEVICE_COMBO,50,129,258,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "",IDC_OUTPUT_DEVICE_INFO_LIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,14,146,294,52
GROUPBOX "FFMPEG Core Settings",IDC_TXT_OPT_PLAY_FFMPEG_CORE_SETTING_STATIC,7,210,309,81
RTEXT "Cache duration (sec):",IDC_TXT_OPT_PLAY_FFMPEG_CORE_CACHE_LENGTH_STATIC,14,222,141,8,SS_ENDELLIPSIS
EDITTEXT IDC_FFMPEG_CACHE_LENGTH,163,220,50,12,ES_AUTOHSCROLL
RTEXT "Max retry attempts (-1 for unlimited):",IDC_TXT_OPT_PLAY_FFMPEG_CORE_MAX_RETRY_COUNT_STATIC,14,236,141,8,SS_ENDELLIPSIS
EDITTEXT IDC_FFMPEG_MAX_RETRY_COUNT,163,234,50,12,ES_AUTOHSCROLL
RTEXT "Non-local file retry interval (sec):",IDC_TXT_OPT_PLAY_FFMPEG_CORE_URL_RETRY_INTERVAL_STATIC,14,250,141,8,SS_ENDELLIPSIS
EDITTEXT IDC_FFMPEG_URL_RETRY_INTERVAL,163,248,50,12,ES_AUTOHSCROLL
RTEXT "Max wait time for seeking (ms):",IDC_TXT_OPT_PLAY_FFMPEG_CORE_MAX_WAIT_TIME_STATIC,14,264,141,8,SS_ENDELLIPSIS
EDITTEXT IDC_FFMPEG_MAX_WAIT_TIME,163,262,50,12,ES_AUTOHSCROLL
CONTROL "Enable WASAPI",IDC_FFMPEG_ENABLE_WASAPI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,277,141,8
CONTROL "Enable exclusive mode",IDC_FFMPEG_ENABLE_WASAPI_EXCLUSIVE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,170,277,160,8
GROUPBOX "MIDI Setting",IDC_TXT_OPT_DATA_MIDI_SETTING_STATIC,7,297,330,39
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,277,145,8
GROUPBOX "MIDI Setting",IDC_TXT_OPT_DATA_MIDI_SETTING_STATIC,7,297,309,39
CONTROL "Display the inner lyric in MIDI music first",IDC_MIDI_USE_INNER_LYRIC_CHECK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,308,316,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,308,294,8
LTEXT "MIDI sound font path:",IDC_TXT_OPT_DATA_MIDI_SF2_PATH_STATIC,14,321,40,8
CONTROL "",IDC_SF2_PATH_EDIT,"MfcEditBrowse",WS_BORDER | WS_TABSTOP | 0x80,60,320,270,12
CONTROL "",IDC_SF2_PATH_EDIT,"MfcEditBrowse",WS_BORDER | WS_TABSTOP | 0x80,60,320,248,12
END

IDD_PROPERTY_DIALOG DIALOGEX 0, 0, 344, 148
Expand Down Expand Up @@ -1895,11 +1895,11 @@ BEGIN
IDD_PLAY_SETTING_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 337
RIGHTMARGIN, 316
VERTGUIDE, 14
VERTGUIDE, 160
VERTGUIDE, 170
VERTGUIDE, 330
VERTGUIDE, 155
VERTGUIDE, 163
VERTGUIDE, 308
TOPMARGIN, 4
BOTTOMMARGIN, 341
END
Expand Down

0 comments on commit 3415efd

Please sign in to comment.