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

📄 main.cpp

📁 sms发送短信的程序
💻 CPP
字号:
/*   * Written By S砤womir Szczyrba <steev@hot.pl>  * All rights reserved. No warrenties, use at your own risk.   * This source is distributed under the GNU GENERAL PUBLIC LICENCE,   * see the file "COPYING" for more information.   */#include "SMSGui.h"// Message Map for the SMS Window classFXDEFMAP(SMSWindow) SMSWindowMap[]={ FXMAPFUNC(SEL_NONE, SMSWindow::ID_NONE,SMSWindow::voidfunc ),//________Message_Type_____________________ID____________Message_Handler_______// FXMAPFUNC(SEL_CHANGED, SMSWindow::ID_SMS_ZNAKI,SMSWindow::onNewChar ), FXMAPFUNC(SEL_COMMAND, SMSWindow::ID_SMS_DODAJ,SMSWindow::onCmdNew ), FXMAPFUNC(SEL_COMMAND, SMSWindow::ID_SMS_KONFIG,SMSWindow::onCmdConfig ), FXMAPFUNC(SEL_COMMAND, SMSWindow::ID_SMS_SKASUJ,SMSWindow::onCmdDel ), FXMAPFUNC(SEL_COMMAND, SMSWindow::ID_SMS_ZMIEN,SMSWindow::onCmdEdit ), FXMAPFUNC(SEL_COMMAND, SMSWindow::ID_SMS_OPIS,SMSWindow::onCmdAbout ), FXMAPFUNC(SEL_SELECTED, SMSWindow::ID_SMS_LISTA,SMSWindow::onListChange ), FXMAPFUNC(SEL_DOUBLECLICKED, SMSWindow::ID_SMS_LISTA,SMSWindow::onCmdSend )};// Macro for the SMSApp class hierarchy implementationFXIMPLEMENT(SMSWindow,FXMainWindow,SMSWindowMap,ARRAYNUMBER(SMSWindowMap))// Create and initialize void SMSWindow::create(){ FXuint x,y; config->loadPos(x,y); setX(x); setY(y); FXMainWindow::create(); show(PLACEMENT_VISIBLE);}// Here we beginint main(int argc,char *argv[]){  FXApp  application("SMS","Fox SMS Sender");  application.init(argc,argv);  new SMSWindow(&application);  application.create();  return application.run();}

⌨️ 快捷键说明

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