Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1150
Using custom Activity Dialogs in Schedule control: DialogManager
posted

Hi,

I am currently evaluating the Schedule control and noticed a problem when creating custom dialogs for it. The DialogFactory is working fine, but insufficient. My problem is that there seems to be a "DialogManager" working in the background, which is doing a bit more with the Window-object I provide than I would like to (as seen in Reflector).

- It shows the dialog non-modal (I would like a modal dialog)

- It sets the Window's owner to itself instead to the actual parent window (I want to specify the Window owner myself)

- It resizes the Window (I use a Settings class to save and restore last used window sizes, so I don't want the DialogManager to interfere)

- Plus some other actions like a focus change or a window title change that I'd rather not have.

Can you please tell me how to avoid the "magic" invoked by the DialogManager?

Best regards,

Florian