//问题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的右击选项中添加喜爱功能或是在扩张面板添加确认建用来添喜爱的文件
//多文件的的动态调用避免