SpellCheck in DialogBox

Hi,Does anybody know if it is possible to do a spell check in a dialogbox?

In a helpdesk application, when a call is closed, a dialogbox pops up with the Resolution, before the doc is set as closed. The resolution then is sent to the caller. However, I want to do a spellcheck of the resolution text before sending it off to the caller.

Any ideas?

Thks

Subject: SpellCheck in DialogBox

i guess you can try this: Dim workspace As New NotesUIWorkspace

Dim uidoc As NotesUIDocument

Set uidoc = workspace.CurrentDocument   

Call uidoc.SpellCheck()

Subject: RE: SpellCheck in DialogBox

Hi Deepak,

Thanks for your reply. I have put the code in the Queryclose of the Dialogbox form, but now it prevents one from actually cancelling the form!?!?!?

Subject: RE: SpellCheck in DialogBox

Ok…Don’t use default ‘OK’/‘Cancel’ button of dialog box…insteed put your custom buttons…hope this will help