JH
John Huschka
May 27, 2005 06:52 PM UTC
An update...
The behavior is only observed if the dialog from which I want to display the context menu was itself launched by a context menu (via ShowDialog). If it is launched from a menu or toolbar, I can get the context menu from the dialog.
JH
John Huschka
June 2, 2005 04:40 PM UTC
An update: Setting SynchronousPopup to false fixes the problem.
I''m glad that it fixes the problem, but I''m a bit concerned: If setting this property to false basically makes things work, why is the default true? What are the implications of setting it to false? Is there documentation on this?
AD
Administrator
Syncfusion Team
June 2, 2005 04:58 PM UTC
Hi John,
If I remember correctly, SynchronousPopup = false prevents the ContextMenu from going on the current message stack. Instead, it is momentarily delayed with a Timer, so that the current stack is not frozen by the context menu.
I believe that SynchronousPopup = true is the "correct" way to show a ContextMenu, but in some circumstances (mostly involving modal dialogs), it just doesn''t work.
If you have anymore questions, please let me know, and I apologize for the previous lack of answers.
Regards,
Gregory Austin
Syncfusion Inc.
>An update: Setting SynchronousPopup to false fixes the problem.
>
>I''m glad that it fixes the problem, but I''m a bit concerned: If setting this property to false basically makes things work, why is the default true? What are the implications of setting it to false? Is there documentation on this?