fairyland.rss

来自「一个比较完整的有关移动开发的例子 vc++6.0下编译通过」· RSS 代码 · 共 1,354 行 · 第 1/2 页

RSS
1,354
字号
            },
       MENU_ITEM
            {
            command = EFairyLandMemoHelp;
            txt = qtn_mh_help;           //帮助                 
       			}
       	};		
}


RESOURCE CBA R_CBA_MEMO
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
             id = EAknSoftkeyOptions;  
             txt = qtn_mh_options;   //选项
		},
        AVKON_CBA_BUTTON
		{
            id = EFairyLandBack;
            txt = qtn_mh_return;     //返回
		}
	};
}

/***************************************************
******NewMemoView************
***************************************************/
RESOURCE AVKON_VIEW R_NEWMEMO_VIEW
{
    menubar = r_fairyland_menubar;//  
    cba = R_CBA_NEWMEMO;                                     //新建
}

RESOURCE CBA R_CBA_NEWMEMO
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
             id = EFairyLandCmdSave;  
             txt = qtn_mh_save;   //保存
		},
        AVKON_CBA_BUTTON
		{
            id = EFairyLandBack;
            txt = qtn_mh_return;     //退出
		}
	};
}




/***************************************************
******ModifyMemoView************
***************************************************/

RESOURCE AVKON_VIEW R_MODIFY_VIEW
{
    menubar = R_FREE_LOGON_MENUBAR;//
    cba = R_CBA_MODIFY;
}



RESOURCE CBA R_CBA_MODIFY
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
             id = EFairyLandCmdModifySave;
             txt = qtn_mh_save;
		},
        AVKON_CBA_BUTTON
		{
            id = EFairyLandBack;
            txt = qtn_mh_return;
		}
	};
}

/***************************************************
******LookOverMemoView************
***************************************************/

RESOURCE AVKON_VIEW R_LOOK_OVER_VIEW
{
    menubar = R_FREE_LOGON_MENUBAR;//
    cba = R_CBA_LOOK_OVER;
}



RESOURCE CBA R_CBA_LOOK_OVER
{
    buttons=
	{
	    AVKON_CBA_BUTTON
		{
             id = EFairyLandCmdModifySave;
             txt = qtn_mh_look_empty;
		},
        AVKON_CBA_BUTTON
		{
            id = EFairyLandBack;
            txt = qtn_mh_return;
		}
	};
}

/***************************************************
******MainHelpView************
***************************************************/

RESOURCE AVKON_VIEW R_MAIN_HELP_VIEW
{
    menubar = R_FREE_LOGON_MENUBAR;//
    cba = R_CBA_MAIN_HELP;
}



RESOURCE CBA R_CBA_MAIN_HELP
{
    buttons=
	{
	    AVKON_CBA_BUTTON
		{
             id = EFairyLandCmdModifySave;
             txt = qtn_mh_look_empty;
		},
        AVKON_CBA_BUTTON
		{
            id = EFairyLandBack;
            txt = qtn_mh_return;
		}
	};
}



/***************************************************
******MemoHelpView************
***************************************************/

RESOURCE AVKON_VIEW R_MEMO_HELP_VIEW
{
    menubar = R_FREE_LOGON_MENUBAR;//
    cba = R_CBA_MEMO_HELP;
}



RESOURCE CBA R_CBA_MEMO_HELP
{
    buttons=
	{
	    AVKON_CBA_BUTTON
		{
             id = EFairyLandCmdModifySave;
             txt = qtn_mh_look_empty;
		},
        AVKON_CBA_BUTTON
		{
            id = EFairyLandBack;
            txt = qtn_mh_return;
		}
	};
}

RESOURCE SECRETED R_MY_SEC_ED        //密码显示*
{   
  num_letters = 6;   
} 







/***************************************************
******BookListView************
***************************************************/

RESOURCE AVKON_VIEW R_BOOKLIST_VIEW
{
    menubar = R_MH_BOOKLIST_MENUBAR;
    cba = R_CBA_BOOKLIST;
}

RESOURCE CBA R_CBA_BOOKLIST
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
			 id = EAknSoftkeyOptions;
			 txt = qtn_mh_options;
		},
        AVKON_CBA_BUTTON
		{
			id = EFairyLandCmdBack;
			txt = qtn_mh_return;
		}
	};
}

RESOURCE MENU_BAR R_MH_BOOKLIST_MENUBAR
{
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_MH_BOOKLIST_MENU;
            }
        };
}  

//menu
RESOURCE MENU_PANE R_MH_BOOKLIST_MENU
{
    items = 
        {
        MENU_ITEM 
            {
            command = EFairyLandNewBook;
            txt = qtn_mh_new_build_book;
			flags = EEikMenuItemSeparatorAfter; //添加分隔线
            },
        MENU_ITEM 
            {
            command = EFairyLandDeleteBook;
            txt = qtn_mh_delete_book;
			flags = EEikMenuItemSeparatorAfter; //添加分隔线
            },            
        MENU_ITEM 
            {
            command = EFairyLandModifyBook;
            txt = qtn_mh_modify_book;
			flags = EEikMenuItemSeparatorAfter; //添加分隔线
            },            
        MENU_ITEM 
            {
            command = EFairyLandLookBook;
            txt = qtn_mh_look_book;
			flags = EEikMenuItemSeparatorAfter; //添加分隔线
            },            
        MENU_ITEM 
            {
            command = EFairyLandUpBookData;
            txt = qtn_mh_up_book_data;
			flags = EEikMenuItemSeparatorAfter; //添加分隔线
            },
        MENU_ITEM 
            {
            command = EFairyLandDownBookData;
            txt = qtn_mh_down_book_data;
			flags = EEikMenuItemSeparatorAfter; //添加分隔线
            },

        MENU_ITEM 
            {
            command = EFairyLandHelp ;
            txt = qtn_mh_help;
			flags = EEikMenuItemSeparatorAfter; //添加分隔线
            }, 
           
        MENU_ITEM 
            {
            command = EFairyLandWriteSMS;
            txt = qtn_mh_write_book;
			flags = EEikMenuItemSeparatorAfter; //添加分隔线
            }  
                
 };
}






/***************************************************
******BookOperationView************
***************************************************/


RESOURCE AVKON_VIEW R_BOOKOPERATION_VIEW
{
    menubar = R_MH_BOOKOPERATION_MENUBAR;
    cba = R_CBA_BOOKOPERATION;
}

RESOURCE CBA R_CBA_BOOKOPERATION
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
			 id = EFairyLandCmdConfirm;    
    
			 txt = qtn_mh_confirm ;
		},
        AVKON_CBA_BUTTON
		{
			id = EFairyLandCmdBack;
			txt = qtn_mh_return;
		}
	};
}

RESOURCE MENU_BAR R_MH_BOOKOPERATION_MENUBAR
{
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_MH_BOOKOPERATION_MENU;
            }
        };
}

//menu
RESOURCE MENU_PANE R_MH_BOOKOPERATION_MENU
{
   
}



RESOURCE DIALOG R_QTN_PROMPT_DIALOG
{
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
    {
        DLG_LINE
            {
            	type = EAknCtQuery;
            	id = EGeneralQuery;
            	control = AVKON_CONFIRMATION_QUERY
                {
                	layout = EConfirmationQueryLayout;
                	label = qtn_im_pbdelete_name;

                };
            }
	};
}



/***************************************************
******SMSFunctionView************
***************************************************/

RESOURCE AVKON_VIEW R_SMSFUNCTION_VIEW
{
    menubar = R_MH_SMSFUNCTION_MENUBAR;
    cba = R_CBA_SMSFUNCTION;
}

RESOURCE CBA R_CBA_SMSFUNCTION
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
			 id = EAknSoftkeyOptions;
			 txt = qtn_mh_options;
		},
        AVKON_CBA_BUTTON
		{
			id = EFairyLandCmdBack;
			txt = qtn_mh_return;
		}
	};
}

RESOURCE MENU_BAR R_MH_SMSFUNCTION_MENUBAR
{
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_MH_SMSFUNCTION_MENU;
            }
        };
}  

//menu
RESOURCE MENU_PANE R_MH_SMSFUNCTION_MENU
{
    items = 
        {

	     MENU_ITEM 
            {
            command =  EFairyLandCmdOpen;
            txt = qtn_mh_main_open;   // 打开
            },
            MENU_ITEM
            {
            command = EFairyLandCmdHelp;
            txt = qtn_mh_help;           //帮助                 
       	    },

	   MENU_ITEM
            {
            command = EAknSoftkeyExit;
            txt = qtn_mh_fairyland_cba_exit;           //退出               
       	    }


                
 };
}





/***************************************************
******SMSOperationView************
***************************************************/


RESOURCE AVKON_VIEW R_SMSOPERATION_VIEW
{
    menubar = R_FREE_SMSOPERATION_MENUBAR;//   //选项
    cba = R_CBA_OPTION_RETURN;                                     //选项和退出
}




RESOURCE MENU_BAR R_FREE_SMSOPERATION_MENUBAR
{
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_MH_SMSOPERATION_MENU;   //
            }
        };
}


//menu
RESOURCE MENU_PANE R_MH_SMSOPERATION_MENU
{
    items = 
        {
        
	     MENU_ITEM 
            {
            command =  EFairyLandCmdSend;
            txt = qtn_smsoperation_send;   // 发送
            },
       MENU_ITEM 
            {
            command =  EFairyLandAddSendto;
            txt = qtn_smsoperation_add_sendto;   // 增加收信人
            },
	     MENU_ITEM 
            {
            command =  EFairyLandCmdHelp;
            txt = qtn_mh_help;   // 帮助
            },
		MENU_ITEM 
            {
            command =  EFairyLandReply;
            txt = qtn_im_reply_sms;   // 回复
            }
       	};		
}

/***************************************************
******SMSListView************
***************************************************/


RESOURCE AVKON_VIEW R_SMSLIST_VIEW
{
    menubar = R_FREE_SMSLIST_MENUBAR;//   //选项
    cba = R_CBA_OPTION_RETURN;                                     //选项和退出
}




RESOURCE MENU_BAR R_FREE_SMSLIST_MENUBAR
{
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_MH_SMSLIST_MENU;   //
            }
        };
}

RESOURCE CBA R_CBA_OPTION_RETURN
{
    buttons=
	{
	    AVKON_CBA_BUTTON
		{
             id = EAknSoftkeyOptions;
             txt = qtn_mh_options;
		},
        AVKON_CBA_BUTTON
		{
            id = EFairyLandBack;
            txt = qtn_mh_return;
		}
	};
}
//menu
RESOURCE MENU_PANE R_MH_SMSLIST_MENU
{
    items = 
        {
        
	    MENU_ITEM 
            {
            command =  EFairyLandCmdOpen;
            txt = qtn_mh_main_open;   // 打开
            },
		MENU_ITEM 
            {
            command =  EFairyLandCmdWrite;
            txt = qtn_menu_write_sms;   // 写信息
            },
       MENU_ITEM 
            {
            command =  EFairyLandReply;
            txt = qtn_im_reply_sms;   // 回复
            },
	     MENU_ITEM 
            {
            command =  EFairyLandDel;
            txt = qtn_mh_del;   // 删除
            },
       MENU_ITEM 
            {
            command =  EFairyLandDetail;
            txt = qtn_im_detail_sms;   // 信息详情
            },
       MENU_ITEM 
            {
            command =  EFairyLandMoveSMS;
			cascade =R_MH_SMSLIST_SUB_MENU;
            txt = qtn_im_move_sms;   // 移至文件夹
            },
	   MENU_ITEM 
            {
            command =  EFairyLandCmdHelp;
            txt = qtn_mh_help;   // 帮助
            }

       	};		
}



RESOURCE MENU_PANE R_MH_SMSLIST_SUB_MENU
{
    items = 
        {
       MENU_ITEM 
            {
            command =  EFairyLandMoveToInBox;
            txt = qtn_in_box;   // 收件箱
            },
       MENU_ITEM 
            {
            command =  EFairyLandMoveToDraftBox;
            txt = qtn_draft_box;   // 草稿箱
            },
	   MENU_ITEM 
            {
            command =  EFairyLandMoveToSentBox;
            txt = qtn_sent_box;   // 发件箱
            }

       	};		
}


//询问对话框
RESOURCE DIALOG R_SMSIB_QUERY
    {
    flags=EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_YES_NO;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
			id=EMDBMessageBoxID;
            control= AVKON_CONFIRMATION_QUERY 
                { 
                    layout = EConfirmationLayout;
					animation = R_QGN_NOTE_INFO_ANIM;
                };
            }
        };
    }

 RESOURCE DIALOG r_message_query
{
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    items =
    {
        DLG_LINE
        {
           type = EAknCtPopupHeadingPane;
           id = EAknMessageQueryHeaderId;
           itemflags = EEikDlgItemNonFocusing;
           control = AVKON_HEADING
           {
           };
        },
        DLG_LINE
        {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
            {
            };
        }
    };
}







RESOURCE EDWIN r_aknexeditor_hello_view_edwin
{
    flags = EAknEditorFlagDefault;
    width = 4;
    lines= 2;
    maxlength = 70;
}



//////////////////////////////////////http processing///////////////////////////////////////
RESOURCE DIALOG r_fairyland_wait_note
{
    flags = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
    {
        DLG_LINE
        {
            type = EAknCtNote;
            id = EGeneralNote;
            control= AVKON_NOTE 
            { 
                layout = EWaitLayout;
                singular_label = qtn_mh_wait;
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
            };
        }
    };
}

⌨️ 快捷键说明

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