> That's cool. You might be able to achieve a similar effect by simply > attaching a BlurDecorator to the dialog's owner when the dialog is opened. > > I think I did that first. I imagine I then took the snapshot approach to > save expensive graphics operations on what I knew to be a static background. > Does that sound right?
Sure, that's a reasonable optimization. Though if nothing triggers a repaint on the main window, you probably wouldn't notice a difference. > It has the downside that the image is not updated if the host frame is > resized, so I take the coward's option and simply lock the host frame while > the modal dialog is being displayed. :-)
