
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Hello ,
I have some difficulty while setting title of a dialogbox.
Please check the following sample code. I dont know if I am using the
correct way but its working . Please try to tell me correct method.
I open the modified Dialog 'DIALOGID_MsgBoxOK' and I get the
window title but if I use mdlDialog_openInfoBox instead then also I get
the window title. How come the db is pointing to this one when I
got the pointer db to point at DIALOGID_MsgBoxOK.
Could anyone have a point for me.
thanks in advance,
Lee.
void display_Dialog(ULong fpos)
{
DialogBox *db;
sprintf(msg,"FilePos=%ld",fpos);
db=mdlDialog_create(NULL,NULL,RTYPE_DialogBox,(int)DIALOGID_MsgBoxOK,FALSE);
if(db)
{
mdlWindow_titleSet(db,"File position");
mdlDialog_openMessageBox(DIALOGID_MsgBoxOK,msg,MSGBOX_ICON_INFORMATION);
or mdlDialog_openInfoBox(msg);
}
--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
| <-- __Chronological__ --> | <-- __Thread__ --> |