Filter Plugin in CS2 - How to add "Preview" Option?

230 views1 repliesLast post: 4/26/2007
Hi,
I am writing a filter plugin to photoshop cs2.
as all plugins, I want to add the "Preview" option: I selected an area in the image, and than I open my filter dialog. The "Preview" checkbox is checked by default, so I want to see the filter effect in both the image and in the dialog.
I update outData parameter of the FilterRecord structure, and the dialog is show the filter effect, BUT I don't see the effect of the filter in the image. Only when I press The OK button in the dialog, and the dialog is closed, I can see the filter in the image.
Any one know how to do that? How to see the effect in the image, when the dialog is open?

Thanks, Inbal
#1