Hello,

How to set an image for the standard buttons provided in DwtDialog class.For e.g i have this sample snippet:

Code:
...editorProps is defined here
var view = new DwtComposite(this._appCtxt.getShell());
this._questPropertyEditor = new DwtPropertyEditor(view,true);
var pe = this._questPropertyEditor;
pe.initProperties(editorProps);
var dialog_args = {
	title	:	"Add Details",
	view	:	view
};

this._questDlgPropertyEditor = this.zimlet._createDialog(dialog_args);
var questDlg = this._questDlgPropertyEditor;
pe.setFixedLabelWidth();
pe.setFixedFieldWidth();

questDlg.setButtonListener(DwtDialog.OK_BUTTON,
					  new AjxListener(this,function() 
					  {	
							if(!pe.validateData()) {return;}

							this._addQuestDataToTable();

					  } ) );

}
Now if i want to set images for this OK and Cancel buttons can it be done.If yes,then how??

Thanks.