can i open a DialogEx.Show and the Dialog dont be always on top???
if i open a new DialogEx.Show the Dialog is always on top and i cannot push on button in other pages or dialogs.
i mean the DialogEx object
Professional Software Development Tools
can i open a DialogEx.Show and the Dialog dont be always on top???
if i open a new DialogEx.Show the Dialog is always on top and i cannot push on button in other pages or dialogs.
i mean the DialogEx object
Last edited by lnd; 06-16-2009 at 04:30 AM.
If you read the help file, the answers are in there -
anddialogs are separate windows that can be opened on top of your application window.
The dialog is a modal pop-up i.e. it *must* be dealt with before you continue normal use of your application.Note: You cannot navigate pages when a dialog is visible
That's how I think of it anyway (and it ceratinly acts in this way).
Last edited by longedge; 06-16-2009 at 05:12 AM.
Here it is
it was easiest than i thought,
you can open mutiple dialogs
you can jump to another page during dialog(s) is up
you can get return value from dialogs , if you are on the page that dialog was opened
Note : in order to run this sample , you will need to WinApi action plugin
Click Here To Download Sample
![]()
When I try navigating to the next page, it doesn't work although the label reacts to being in the 'over state' i.e. the text goes red.
I *can* open other dialogs from the main window though even when one is already open.
The dialogs remain on top of the main window.
Knowing nothing at all about the technicalities, I wonder whether it would be possible to have an attribute for the dialog to toggle modal/modeless window.
iv had to do this a few times, AMS dialogs are designed to be modal child windows and altho you can reenable the window and set the z order of the dialog AMS still does not like and not respond properly when resetting dialog window properties as AMS is designed to wait for the return from the dialog.
iv done this myself with "EnableWindow" API call in AMS and it leaves the same buggy results as WinAPI plugin, dialogs open but the main window sometimes becomes unresponsive, dialogs not returning values till all dialogs are closed, the z order issue does not bother me as i hardly ever make a window that isent a child of the main window
all this being said, there is a child window system in the works, a few weeks back, fed-up with buggy workarounds, i decided to code my own window system for AMS, its about 60% till a beta, but already its looking pretty good, i shall post some details nearer the time of release.