15,471
社区成员
发帖
与我相关
我的任务
分享
extern "C" __declspec(dllexport) int FL_SetValue(TCHAR *pBufValue)
{
if (g_bifPause)
{
return 0;
}
if (h_wnd)
{
//判断当前最大数量
int nCount = ListBox_GetCount(h_wnd);
if (nCount == g_nMaxCount /*&& b_ifNext==FALSE*/)
{
ListBox_DeleteString(h_wnd,0);
}
if (pBufValue == NULL)
{
TCHAR ch[] = _T("");
ListBox_AddString(h_wnd,ch);
}
else
ListBox_AddString(h_wnd,pBufValue);
}
return 0;
}