c语言txt播放器,c语言播放器更新版
//問題1:列表讀取時如果列表內容為也會.添加到listbox
//清空列表
#include "stdafx.h"
#include
#include
#include "resource.h"
#include "MainDlg.h"
#include
#include
#include "ABOUT.h"
#include "SETTING.H"
#include "MINI.H"
#include
#include
#include
#include
#include "shellapi.h"
#include "SkinH.h"
#include
#define WM_SHOWTASK (WM_USER +1)
#define WM_NOTIFYICON WM_USER+5
#define WM_SHOWTASK (WM_USER +1)
#define WM_NOTIFYICON WM_USER+5
HMENU hmen,hmenu;
臨時一會兒刪除
int sjk=0,ljp=0;
static char str_kl[1024];
///
HINSTANCE hApp;
NOTIFYICONDATA nid;
#pragma comment(lib, "SkinH.lib")
#pragma comment(lib, "WINMM.LIB")
static int volume1=500,hk;
static long lpsion;
static int n,m,e=0,g=0,pftx=0,mini=0,sfxlrc=0,sfwb=0,mini1=0;
static int k=0,shunxu=0,delyn=0;
static int alltime,minute,second,alltime1,minute1,second1,alltime5;
static int i=1,tempcc,suiji5,sfyjms=0;
static int xunh=1,duquyn=0,sftp=0,ztd=0;
static int voltemp,ztjy=1;
static TCHAR nowplay[MAX_PATH],shuim[256];
static TCHAR shortp[MAX_PATH];
static TCHAR ret[256],er[512];
static TCHAR length[256],namejj[256]="0";
static TCHAR ret1[512],szVolume[256],strss[256];
static TCHAR time2[512],time1[512];
static TCHAR str[512],vol[256];
static TCHAR buf[MAX_PATH],volstr[256],bmode[256],xh[512],xh1[512],xh2[512];
static TCHAR length1[512],ret8[256];
static int tmd,djs1,altm=0;/
static char tmd1[256],*bt,bg[256],cmd[MAX_PATH + 20];
static int xuanx,tp=0,yjms=0,bg1=0;
static int djs=0,smtm=0,smkq=1,loadzd,sfcl1,sfky=0;
huanfu(int xuanx);
static HWND listhwnd,hwndc,hwndabout,lishwnd,hwnd;
static WPARAM wParam;
//*此處為今天添加*//歌詞函數所需變量
staticchar strlrcnr[1024],stryjb[512];
static char *p1=0,strprtf[1024];
static int l=0;
static char *gm,*pk,strol[25];
//tmjy(int tmd);
static int ml=0,q=0,ct=0;
static struct lrc
{
char lrcnr[256];
int sj;
}lrc1[100];
//*次出為今天添加*//
extern int tma;
static struct song
{
char name[MAX_PATH];
char lujing[MAX_PATH];
char geshou[50];
}songs[1000];
static struct temp
{
char name1[MAX_PATH];
}song1[1000];
static struct lrctemp
{
char name[MAX_PATH];
char lujing[MAX_PATH];
}lrcs[1000];
/多列表實現,以及喜愛收藏功能的實現
//此處首次實現課用定義多個結構體
實現以后可用動態鏈表代替
//實現時考慮添加文件時的列表選項以及對保存的列表進行讀取,
//喜愛文件1.或對隸listbox的右擊選項中添加喜愛功能或是在擴張面板添加確認建用來添喜愛的文件
//多文件的的動態調用避免
總結
以上是生活随笔為你收集整理的c语言txt播放器,c语言播放器更新版的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2023最新行业圈子系统小程序/语音房A
- 下一篇: java版林地府邸种子_我的世界林地府邸