Changeset 258
- Timestamp:
- 03/30/07 13:53:50 (18 years ago)
- Location:
- winamp-musepack/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
winamp-musepack/trunk/mpc_player.cpp
r254 r258 86 86 wait_event = 0; 87 87 tag_file = 0; 88 lastfn[0] = 0; 88 89 89 90 TagLib::FileRef fileRef; … … 120 121 tag_file = 0; 121 122 } 123 lastfn[0] = 0; 122 124 } 123 125 … … 329 331 void mpc_player::initDlg(HWND hDlg) 330 332 { 333 if (lastfn[0] == 0) { 334 SetDlgItemText(hDlg, IDC_FILE, "Can't open file"); 335 return; 336 } 337 331 338 std::ostringstream tmp; 332 339 … … 405 412 EndDialog(hDlg, LOWORD(wParam)); 406 413 return TRUE; 414 } else if (LOWORD(wParam) == IDC_LOGO) { 415 ShellExecute( hDlg, "open", "http://www.musepack.com", NULL, NULL, SW_NORMAL); 407 416 } 408 417 break; -
winamp-musepack/trunk/resource.h
r255 r258 5 5 #define IDD_FORMVIEW 101 6 6 #define IDD_INFO_BOX 101 7 #define IDB_LOGO 10 67 #define IDB_LOGO 102 8 8 #define IDC_STREAM_INFO 1001 9 9 #define IDC_TITLE 1002 … … 18 18 #define IDC_COMMENT 1011 19 19 #define IDC_FILE 1012 20 #define IDC_LOGO 1013 20 21 #define IDC_STATIC -1 21 22 … … 24 25 #ifdef APSTUDIO_INVOKED 25 26 #ifndef APSTUDIO_READONLY_SYMBOLS 26 #define _APS_NEXT_RESOURCE_VALUE 10 727 #define _APS_NEXT_RESOURCE_VALUE 103 27 28 #define _APS_NEXT_COMMAND_VALUE 40001 28 29 #define _APS_NEXT_CONTROL_VALUE 1014 -
winamp-musepack/trunk/winamp-musepack.rc
r257 r258 85 85 EDITTEXT IDC_FILE,24,6,376,12,ES_AUTOHSCROLL | ES_READONLY 86 86 RTEXT "File",IDC_STATIC,6,8,12,8 87 CONTROL 106,IDC_STATIC,"Static",SS_BITMAP,264,152,136,46 87 CONTROL IDB_LOGO,IDC_LOGO,"Static",SS_BITMAP | SS_NOTIFY,264,152,136, 88 46 88 89 LTEXT "",IDC_STREAM_INFO,268,25,129,124 89 90 END
Note: See TracChangeset
for help on using the changeset viewer.