WEB开发网
开发学院手机开发Symbian 开发 Symbian 对话框用法 阅读

Symbian 对话框用法

 2010-03-05 06:11:00 来源:WEB开发网   
核心提示:WORD type;LTEXT prompt;WORD id=0;LONG itemflags=0;STRUCT control;LTEXT trailer="";LTEXT bmpfile = "" ;WORD bmpid = 0xffff ;WORD bmpmask ;LTE

WORD type;

LTEXT prompt;

WORD id=0;

LONG itemflags=0;

STRUCT control;

LTEXT trailer="";

LTEXT bmpfile = "" ;

WORD bmpid = 0xffff ;

WORD bmpmask ;

LTEXT tooltip = "" ;

}

Buttons — softkeys

软件通过CBA资源来定义。下面是avkon.rsg中的预定义软键:

#define R_AVKON_SOFTKEYS_EMPTY 0x8cc0010

#define R_AVKON_SOFTKEYS_EMPTY_WITH_IDS 0x8cc0011

#define R_AVKON_SOFTKEYS_OK_EMPTY 0x8cc0012

#define R_AVKON_SOFTKEYS_SELECT_CANCEL 0x8cc0013

#define R_AVKON_SOFTKEYS_OK_CANCEL 0x8cc0014

#define R_AVKON_SOFTKEYS_OK_DETAILS 0x8cc0015

#define R_AVKON_SOFTKEYS_CALL_CANCEL 0x8cc0016

#define R_AVKON_SOFTKEYS_OPTIONS_BACK 0x8cc0017

#define R_AVKON_SOFTKEYS_OPTIONS_DONE 0x8cc0018

#define R_AVKON_SOFTKEYS_OPTIONS_CANCEL 0x8cc0019

#define R_AVKON_SOFTKEYS_OPTIONS_EXIT 0x8cc001a

#define R_AVKON_SOFTKEYS_OK_BACK 0x8cc001b

#define R_AVKON_SOFTKEYS_CANCEL 0x8cc001c

#define R_AVKON_SOFTKEYS_BACK 0x8cc001d

#define R_AVKON_SOFTKEYS_CLOSE 0x8cc001e

#define R_AVKON_SOFTKEYS_DONE_BACK 0x8cc001f

#define R_AVKON_SOFTKEYS_DONE_CANCEL 0x8cc0020

#define R_AVKON_SOFTKEYS_SELECT_BACK 0x8cc0021

#define R_AVKON_SOFTKEYS_MARK_BACK 0x8cc0022

#define R_AVKON_SOFTKEYS_UNMARK_BACK 0x8cc0023

#define R_AVKON_SOFTKEYS_YES_NO 0x8cc0024

#define R_AVKON_SOFTKEYS_UNLOCK_EMPTY 0x8cc0025

#define R_AVKON_SOFTKEYS_SAVE_BACK 0x8cc0026

#define R_AVKON_SOFTKEYS_SHOW_CANCEL 0x8cc0027

#define R_AVKON_SOFTKEYS_SHOW_EXIT 0x8cc0028

#define R_AVKON_SOFTKEYS_ANSWER_EXIT 0x8cc0029

#define R_AVKON_SOFTKEYS_EXIT 0x8cc002a

#define R_AVKON_SOFTKEYS_READ_EXIT 0x8cc002b

上一页  1 2 3 4 5 6 7  下一页

Tags:Symbian 对话框 用法

编辑录入:coldstar [复制链接] [打 印]
赞助商链接