Hello J.F.
Honestly, I don't sure that SaveSettings() must be called every time you
push the Find button.
What about the destructor method? (see the attached file)
08.07.2014 21:16, J.F. Oster пишет:
> Hello,
>
> On Sun, Jun 22, 2014 at 11:29 AM, Dmitriy Olshevskiy <olshevskiy87@bk.ru> wrote:
>> Hello.
>> I think it'll be useful to save the settings of search objects dialog. So I
>> decided to add this feature.
>> Please see the attached patch.
>> Thank you.
> Reporting my user experience :)
> SaveSettings() is called on Cancel button press (and Esc key press).
> If I close the dialog with Alt-F4 or a [x] button, settings won't get
> saved. Same situation was in dlgFindReplace.
> Also what if call SaveSettings() in OnSearch()?
>
--
Dmitriy Olshevskiy