⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mode.cpp

📁 面板显示程序
💻 CPP
📖 第 1 页 / 共 5 页
字号:
			m_static_DG62.SetWindowText("是");						
		m_static_DG62.RedrawWindow();
		return   TRUE;
	}
	if(index6==2)
	{
		m_static_DG63.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG63.SetWindowText("否");					
		else
			m_static_DG63.SetWindowText("是");						
		m_static_DG63.RedrawWindow();
		return   TRUE;
	}
	if(index6==3)
	{
		m_static_DG64.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG64.SetWindowText("否");					
		else
			m_static_DG64.SetWindowText("是");						
		m_static_DG64.RedrawWindow();
		return   TRUE;
	}
	if(index6==4)
	{
		m_static_DG65.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG65.SetWindowText("否");					
		else
			m_static_DG65.SetWindowText("是");						
		m_static_DG65.RedrawWindow();
		return   TRUE;
	}
	if(index6==5)
	{
		m_static_DG66.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG66.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG66.SetWindowText("133%");
		else if(temp1=="133%")
			m_static_DG66.SetWindowText("114%");
		else if(temp1=="114%")
			m_static_DG66.SetWindowText("100%");
		else if(temp1=="100%")
			m_static_DG66.SetWindowText("93%");
		else if(temp1=="93%")
			m_static_DG66.SetWindowText("87%");
		else if(temp1=="87%")
			m_static_DG66.SetWindowText("81%");
		else if(temp1=="81%")
			m_static_DG66.SetWindowText("75%");
		else
			m_static_DG66.SetWindowText("200%");							
		m_static_DG66.RedrawWindow();
		return   TRUE;
	}
	if(index1==6)
	{
		m_static_DG67_M.GetWindowText(temp1);
		if(temp1=="10")
			m_static_DG67_M.SetWindowText("20");					
		else if(temp1=="20")
			m_static_DG67_M.SetWindowText("30");
		else if(temp1=="30")
			m_static_DG67_M.SetWindowText("40");
		else if(temp1=="40")
			m_static_DG67_M.SetWindowText("50");
		else if(temp1=="50")
			m_static_DG67_M.SetWindowText("60");
		else if(temp1=="60")
			m_static_DG67_M.SetWindowText("70");
		else if(temp1=="70")
			m_static_DG67_M.SetWindowText("80");
		else if(temp1=="80")
			m_static_DG67_M.SetWindowText("90");
		else if(temp1=="90")
			m_static_DG67_M.SetWindowText("100");
		else 
			m_static_DG67_M.SetWindowText("10");
		m_static_DG67_M.RedrawWindow();
		return   TRUE;
	}
				}
if(CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG71)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG72)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG73)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG74)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG75)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG76)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG77_M))
{
	CString temp1;
	if(index7==0)
	{
		
		m_static_DG71.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG71.SetWindowText("否");					
		else
			m_static_DG71.SetWindowText("是");						
		m_static_DG71.RedrawWindow();
		return   TRUE;
	}
	if(index7==1)
	{
		m_static_DG72.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG72.SetWindowText("否");					
		else
			m_static_DG72.SetWindowText("是");						
		m_static_DG72.RedrawWindow();
		return   TRUE;
	}
	if(index7==2)
	{
		m_static_DG73.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG73.SetWindowText("否");					
		else
			m_static_DG73.SetWindowText("是");						
		m_static_DG73.RedrawWindow();
		return   TRUE;
	}
	if(index7==3)
	{
		m_static_DG74.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG74.SetWindowText("否");					
		else
			m_static_DG74.SetWindowText("是");						
		m_static_DG74.RedrawWindow();
		return   TRUE;
	}
	if(index7==4)
	{
		m_static_DG75.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG75.SetWindowText("否");					
		else
			m_static_DG75.SetWindowText("是");						
		m_static_DG75.RedrawWindow();
		return   TRUE;
	}
	if(index7==5)
	{
		m_static_DG76.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG76.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG76.SetWindowText("133%");
		else if(temp1=="133%")
			m_static_DG76.SetWindowText("114%");
		else if(temp1=="114%")
			m_static_DG76.SetWindowText("100%");
		else if(temp1=="100%")
			m_static_DG76.SetWindowText("93%");
		else if(temp1=="93%")
			m_static_DG76.SetWindowText("87%");
		else if(temp1=="87%")
			m_static_DG76.SetWindowText("81%");
		else if(temp1=="81%")
			m_static_DG76.SetWindowText("75%");
		else
			m_static_DG76.SetWindowText("200%");							
		m_static_DG76.RedrawWindow();
		return   TRUE;
	}
	if(index7==6)
	{
		m_static_DG77_M.GetWindowText(temp1);
		if(temp1=="10")
			m_static_DG77_M.SetWindowText("20");					
		else if(temp1=="20")
			m_static_DG77_M.SetWindowText("30");
		else if(temp1=="30")
			m_static_DG77_M.SetWindowText("40");
		else if(temp1=="40")
			m_static_DG77_M.SetWindowText("50");
		else if(temp1=="50")
			m_static_DG77_M.SetWindowText("60");
		else if(temp1=="60")
			m_static_DG77_M.SetWindowText("70");
		else if(temp1=="70")
			m_static_DG77_M.SetWindowText("80");
		else if(temp1=="80")
			m_static_DG77_M.SetWindowText("90");
		else if(temp1=="90")
			m_static_DG77_M.SetWindowText("100");
		else 
			m_static_DG77_M.SetWindowText("10");
		m_static_DG77_M.RedrawWindow();
		return   TRUE;
	}
				}
if(CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG81)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG82)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG83)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG84)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG85)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG86)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG87_M))
{
	CString temp1;
	if(index8==0)
	{
		
		m_static_DG81.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG81.SetWindowText("否");					
		else
			m_static_DG81.SetWindowText("是");						
		m_static_DG81.RedrawWindow();
		return   TRUE;
	}
	if(index8==1)
	{
		m_static_DG82.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG82.SetWindowText("否");					
		else
			m_static_DG82.SetWindowText("是");						
		m_static_DG82.RedrawWindow();
		return   TRUE;
	}
	if(index8==2)
	{
		m_static_DG83.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG83.SetWindowText("否");					
		else
			m_static_DG83.SetWindowText("是");						
		m_static_DG83.RedrawWindow();
		return   TRUE;
	}
	if(index8==3)
	{
		m_static_DG84.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG84.SetWindowText("否");					
		else
			m_static_DG84.SetWindowText("是");						
		m_static_DG84.RedrawWindow();
		return   TRUE;
	}
	if(index8==4)
	{
		m_static_DG85.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG85.SetWindowText("否");					
		else
			m_static_DG85.SetWindowText("是");						
		m_static_DG85.RedrawWindow();
		return   TRUE;
	}
	if(index8==5)
	{
		m_static_DG86.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG86.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG86.SetWindowText("133%");
		else if(temp1=="133%")
			m_static_DG86.SetWindowText("114%");
		else if(temp1=="114%")
			m_static_DG86.SetWindowText("100%");
		else if(temp1=="100%")
			m_static_DG86.SetWindowText("93%");
		else if(temp1=="93%")
			m_static_DG86.SetWindowText("87%");
		else if(temp1=="87%")
			m_static_DG86.SetWindowText("81%");
		else if(temp1=="81%")
			m_static_DG86.SetWindowText("75%");
		else
			m_static_DG86.SetWindowText("200%");							
		m_static_DG86.RedrawWindow();
		return   TRUE;
	}
	if(index1==6)
	{
		m_static_DG87_M.GetWindowText(temp1);
		if(temp1=="10")
			m_static_DG87_M.SetWindowText("20");					
		else if(temp1=="20")
			m_static_DG87_M.SetWindowText("30");
		else if(temp1=="30")
			m_static_DG87_M.SetWindowText("40");
		else if(temp1=="40")
			m_static_DG87_M.SetWindowText("50");
		else if(temp1=="50")
			m_static_DG87_M.SetWindowText("60");
		else if(temp1=="60")
			m_static_DG87_M.SetWindowText("70");
		else if(temp1=="70")
			m_static_DG87_M.SetWindowText("80");
		else if(temp1=="80")
			m_static_DG87_M.SetWindowText("90");
		else if(temp1=="90")
			m_static_DG87_M.SetWindowText("100");
		else 
			m_static_DG87_M.SetWindowText("10");
		m_static_DG87_M.RedrawWindow();
		return   TRUE;
	}
				}
if(CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG91)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG92)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG93)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG94)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG95)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG96)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG97_M))
{
	CString temp1;
	if(index9==0)
	{
		
		m_static_DG91.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG91.SetWindowText("否");					
		else
			m_static_DG91.SetWindowText("是");						
		m_static_DG91.RedrawWindow();
		return   TRUE;
	}
	if(index9==1)
	{
		m_static_DG92.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG92.SetWindowText("否");					
		else
			m_static_DG92.SetWindowText("是");						
		m_static_DG92.RedrawWindow();
		return   TRUE;
	}
	if(index9==2)
	{
		m_static_DG93.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG93.SetWindowText("否");					
		else
			m_static_DG93.SetWindowText("是");						
		m_static_DG93.RedrawWindow();
		return   TRUE;
	}
	if(index9==3)
	{
		m_static_DG94.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG94.SetWindowText("否");					
		else
			m_static_DG94.SetWindowText("是");						
		m_static_DG94.RedrawWindow();
		return   TRUE;
	}
	if(index9==4)
	{
		m_static_DG95.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG95.SetWindowText("否");					
		else
			m_static_DG95.SetWindowText("是");						
		m_static_DG95.RedrawWindow();
		return   TRUE;
	}
	if(index9==5)
	{
		m_static_DG96.GetWindowText(temp1);
		if(temp1=="200%")	
			m_static_DG96.SetWindowText("160%");
		else if(temp1=="160%")
			m_static_DG96.SetWindowText("133%");
		else if(temp1=="133%")
			m_static_DG96.SetWindowText("114%");
		else if(temp1=="114%")
			m_static_DG96.SetWindowText("100%");
		else if(temp1=="100%")
			m_static_DG96.SetWindowText("93%");
		else if(temp1=="93%")
			m_static_DG96.SetWindowText("87%");
		else if(temp1=="87%")
			m_static_DG96.SetWindowText("81%");
		else if(temp1=="81%")
			m_static_DG96.SetWindowText("75%");
		else
			m_static_DG96.SetWindowText("200%");							
		m_static_DG96.RedrawWindow();
		return   TRUE;
	}
	if(index9==6)
	{
		m_static_DG97_M.GetWindowText(temp1);
		if(temp1=="10")
			m_static_DG97_M.SetWindowText("20");					
		else if(temp1=="20")
			m_static_DG97_M.SetWindowText("30");
		else if(temp1=="30")
			m_static_DG97_M.SetWindowText("40");
		else if(temp1=="40")
			m_static_DG97_M.SetWindowText("50");
		else if(temp1=="50")
			m_static_DG97_M.SetWindowText("60");
		else if(temp1=="60")
			m_static_DG97_M.SetWindowText("70");
		else if(temp1=="70")
			m_static_DG97_M.SetWindowText("80");
		else if(temp1=="80")
			m_static_DG97_M.SetWindowText("90");
		else if(temp1=="90")
			m_static_DG97_M.SetWindowText("100");
		else 
			m_static_DG97_M.SetWindowText("10");
		m_static_DG97_M.RedrawWindow();
		return   TRUE;
	}
				}
if(CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG101)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG102)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG103)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG104)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG105)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG106)||
   CMODE::GetFocus() == GetDlgItem(IDC_STATIC_DG107_M))
{
	CString temp1;
	if(index10==0)
	{
		
		m_static_DG101.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG101.SetWindowText("否");					
		else
			m_static_DG101.SetWindowText("是");						
		m_static_DG101.RedrawWindow();
		return   TRUE;
	}
	if(index10==1)
	{
		m_static_DG102.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG102.SetWindowText("否");					
		else
			m_static_DG102.SetWindowText("是");						
		m_static_DG102.RedrawWindow();
		return   TRUE;
	}
	if(index10==2)
	{
		m_static_DG103.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG103.SetWindowText("否");					
		else
			m_static_DG103.SetWindowText("是");						
		m_static_DG103.RedrawWindow();
		return   TRUE;
	}
	if(index10==3)
	{
		m_static_DG104.GetWindowText(temp1);
		if(temp1=="是")
			m_static_DG104.SetWindowText("否");					
		else
			m_static_DG104.SetWindowText("是");						

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -