1. 彈出二次確認畫面窗口
#include "apdefap.h" void OnClick(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName) { int xRet = MessageBox(NULL,"確認要執(zhí)行操作嗎?","提示",MB_YESNO | MB_ICONQUESTION | MB_SYSTEMMODAL); if (xRet == IDYES) { SetTagBit ("PB75" , 0); //點擊是,則PB75=0 } }