嵌入式gui:微型嵌入式GUI应用开发-Step2

/* 功能:文本框中对鼠标事件相应 */ #\"gui.h\" USER_PROHelloTextbox(HANDhd,MESSAGEmsg) { (msg.typeGM_MOUSE)/*消息类型为鼠标事件*/ switch(msg.message)/*判断消息*/ { GM_LeftDown:/*鼠标左键按下*/ efTextBox-Set(hd,\"OK!\");/*设置文本框内容*/ ; G... [阅读全文]
1 共1条 分1页