Skip to main content
Participating Frequently
October 20, 2008
Question

kBeforeSaveAsDocSignalResponderService and check spelling dialog

  • October 20, 2008
  • 1 reply
  • 461 views
Hello guys. I have two simple questions regarding spelling dialog. How I can show this dialog (like that one shown when "Check Spelling" clicked). The workaround I found to call dialog->Open() with kSpellPanelPluginID and kSpellDialogRsrcID params. But this way is something... hardcoded. Is there another way to show check spelling dialog?

And another one. When I call my improvised dialog in kBeforeSaveAsDocSignalResponderService event handler and then click "Start" button indesign isn't saving document at all. Bug? How I can save it manually?
This topic has been closed for replies.

1 reply

jochens5907408
Known Participant
September 21, 2016

I wat to catch kBeforeSaveAsDocSignalResponderService and or kBeforeSaveDocSignalResponderService and have thes two switches in my DocWchReponder.cpp.

But obviousely bot services are never raised.

Can anybody tel me what here is wrong?

Jochen

jochens5907408
Known Participant
September 22, 2016

I get now the kBeforeSaveAsDocSignalResponderService signaled, but my CAlert is popped up only after processing the standard  'Save As' dialog.

Can anybody tell me, how to get

1. the menus 'File:Save' and 'File:Save As' to be signaled (before the standard 'Save As'-dialog will be popped up or

2. the parameter 'Save in:' at the standard 'Save As' to be manipulated dynamically.

Regards

Jochen