mirror of
https://github.com/WindowsNT351/CE-Collections.git
synced 2025-12-27 01:20:25 +08:00
202B104
This commit is contained in:
parent
5fe72cef2a
commit
54ffedacee
Binary file not shown.
@ -1,7 +1,8 @@
|
||||
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: 面向 Windows XP 的支持已被弃用,将来的 Visual Studio 版本不再提供该支持。请访问 https://go.microsoft.com/fwlink/?linkid=2023588,获取详细信息。
|
||||
menu2Dlg.cpp
|
||||
正在生成代码
|
||||
0 of 263 functions ( 0.0%) were compiled, the rest were copied from previous compilation.
|
||||
4 of 264 functions ( 1.5%) were compiled, the rest were copied from previous compilation.
|
||||
0 functions were new in current compilation
|
||||
0 functions had inline decision re-evaluated but remain unchanged
|
||||
1 functions had inline decision re-evaluated but remain unchanged
|
||||
已完成代码的生成
|
||||
menu2.vcxproj -> C:\Users\351\Documents\Visual Studio 2017\Projects\cec20\Release\menu2.exe
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -97,17 +97,19 @@ BOOL about::OnInitDialog()
|
||||
m_textver.SetWindowText(AsciiToUnicode(buffer));
|
||||
|
||||
m_edit1.SetWindowText( L"Developer\r\n"
|
||||
" 351 @351Workshop\r\n"
|
||||
"Supporter and Sponsor\r\n"
|
||||
" IBM @IBM_Official\r\n"
|
||||
" Dr.Quest @蓬岸 Dr.Quest\r\n"
|
||||
" 351 351Workshop@Bilibili\r\n"
|
||||
"Sponsor\r\n"
|
||||
" IBM IBM_Official@Bilibili\r\n"
|
||||
" Dr.Quest 蓬岸@知乎\r\n"
|
||||
"Image Providing\r\n"
|
||||
" Alexis lucss21a@Discord\r\n"
|
||||
"Artworks\r\n"
|
||||
" WinPad @とある科学の手机副屏\r\n"
|
||||
" WinPad とある科学の手机副屏@Bilibili\r\n"
|
||||
"Guidance and Testing\r\n"
|
||||
" Inter @-INTER_INIT-\r\n"
|
||||
" GoldApple @不务正业的金苹果\r\n"
|
||||
" Zesa @LinuxMEMZ\r\n"
|
||||
" DZY @DZY20070614\r\n");
|
||||
" Inter -INTER_INIT-@Bilibili\r\n"
|
||||
" GoldApple 不务正业的金苹果@Bilibili\r\n"
|
||||
" Zesa LinuxMEMZ@Bilibili\r\n"
|
||||
" DZY DZY20070614@Bilibili\r\n");
|
||||
//HWND hWndEdit1 = m_edit1.GetSafeHwnd();
|
||||
//::SendMessage(hWndEdit1, EM_LINESCROLL, 0, 3);
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -64,7 +64,7 @@ void Cmenu2Dlg::MyExpandTree(HTREEITEM hTreeItem)
|
||||
}
|
||||
|
||||
TCHAR lpPath[255] = { 0 };
|
||||
HTREEITEM treeStr[255] = { 0 };
|
||||
HTREEITEM *treeStr;
|
||||
BOOL Cmenu2Dlg::OnInitDialog()
|
||||
{
|
||||
CDialogEx::OnInitDialog();
|
||||
@ -83,6 +83,7 @@ BOOL Cmenu2Dlg::OnInitDialog()
|
||||
|
||||
//treeStr[0] = m_tree.InsertItem(L"Windows CE", 1, 0, TVI_ROOT);
|
||||
int iNodeNum = GetPrivateProfileInt(L"0", L"nodeNum", 255, lpPath);
|
||||
treeStr = new HTREEITEM[iNodeNum]();
|
||||
for (int i = 0; i < iNodeNum; i++)
|
||||
{
|
||||
TCHAR iniCBuffer[255] = { 0 };
|
||||
@ -170,13 +171,19 @@ void doCommand(TCHAR *cmd, TCHAR *para)
|
||||
ShellExecute(NULL, L"open", cmd, para, NULL, SW_SHOWNORMAL);
|
||||
}
|
||||
|
||||
void doCommandD(TCHAR *cmd, TCHAR *para, TCHAR *dir)
|
||||
{
|
||||
ShellExecute(NULL, L"open", cmd, para, dir, SW_SHOWNORMAL);
|
||||
}
|
||||
|
||||
void Cmenu2Dlg::OnBnClickedOk()
|
||||
{
|
||||
// TODO: 在此添加控件通知处理程序代码
|
||||
//CDialogEx::OnOK();
|
||||
HTREEITEM hselected = m_tree.GetSelectedItem();
|
||||
int currentTreeID = 0;
|
||||
for (; currentTreeID < 255; currentTreeID++)
|
||||
int iNodeNum = GetPrivateProfileInt(L"0", L"nodeNum", 255, lpPath);
|
||||
for (; currentTreeID < iNodeNum; currentTreeID++)
|
||||
{
|
||||
if (hselected == treeStr[currentTreeID])
|
||||
break;
|
||||
@ -185,11 +192,13 @@ void Cmenu2Dlg::OnBnClickedOk()
|
||||
TCHAR currentINIHead[255] = { 0 };
|
||||
TCHAR currentINICmd[255] = { 0 };
|
||||
TCHAR currentINIPara[255] = { 0 };
|
||||
TCHAR currentINIDir[255] = { 0 };
|
||||
wsprintf(currentINIHead, L"%d", currentTreeID);
|
||||
GetPrivateProfileString(currentINIHead, L"cmd", NULL, currentINICmd, 255, lpPath);
|
||||
GetPrivateProfileString(currentINIHead, L"para", NULL, currentINIPara, 255, lpPath);
|
||||
GetPrivateProfileString(currentINIHead, L"dir", NULL, currentINIDir, 255, lpPath);
|
||||
if (currentINICmd[0] != NULL)
|
||||
doCommand(currentINICmd, currentINIPara);
|
||||
doCommandD(currentINICmd, currentINIPara, currentINIDir);
|
||||
}
|
||||
|
||||
|
||||
@ -204,7 +213,7 @@ void Cmenu2Dlg::OnBnClickedCancel()
|
||||
void Cmenu2Dlg::OnNMClickSyslink1(NMHDR *pNMHDR, LRESULT *pResult)
|
||||
{
|
||||
// TODO: 在此添加控件通知处理程序代码
|
||||
doCommand(L"..\\DOCS\\UpdateLog.txt", NULL);
|
||||
doCommand(L"..\\DOCS\\help.txt", NULL);
|
||||
*pResult = 0;
|
||||
}
|
||||
|
||||
@ -212,7 +221,7 @@ void Cmenu2Dlg::OnNMClickSyslink1(NMHDR *pNMHDR, LRESULT *pResult)
|
||||
void Cmenu2Dlg::OnNMClickSyslink2(NMHDR *pNMHDR, LRESULT *pResult)
|
||||
{
|
||||
// TODO: 在此添加控件通知处理程序代码
|
||||
doCommand(L"..\\DOCS\\TimeLine.xlsx", NULL);
|
||||
doCommand(L"..\\DOCS\\vers.bmp", NULL);
|
||||
*pResult = 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user