|  SKYENGINE API  
      参考手册返回目录 | 
  
 int32 
      mr_dialogRefresh(int32 dialog, const char * title, const char * text, 
      int32 type) 
  
  
  
     
       
Description
刷新对话框。
Parameters
  
    
    
       
    Name 
      Description 
       
    dialog 
      对话框的句柄 
       
    title 
      对话框的标题,unicode编码,网络字节序。 
       
    text 
      对话框内容,unicode编码,网络字节序。 
       type 
      若type为-1,表示type不变。 
对话框类型:
MR_DIALOG_OK:对话框有“确定”键。
MR_DIALOG_OK_CANCEL:对话框有“确定”和“取消”键。
MR_DIALOG_CANCEL:对话框有 
        “取消”键。
MR_SUCCESS 成功
MR_FAILED 失败
/*mrp code*/
int32 hDialog = 0;
hDialog = mrc_dialogCreate( (const char*)SGL_LoadString(STR_DIALOG), (const char*)SGL_LoadString(STR_DIALOG), MR_DIALOG_OK_CANCEL ); //STR_DIALOG字符串资源ID
mrc_dialogRefresh( hDialog, (const char*)SGL_LoadString(STR_DIALOGREFRESH), (const char*)SGL_LoadString(STR_DIALOGREFRESH), MR_DIALOG_OK_CANCEL ); //STR_DIALOGREFRESH被刷新的字符串资源ID