Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2005
    Posts
    572

    can i open a Dialog and the Dialog dont be always on top

    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.

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    If you read the help file, the answers are in there -

    dialogs are separate windows that can be opened on top of your application window.
    and
    Note: You cannot navigate pages when a dialog is visible
    The dialog is a modal pop-up i.e. it *must* be dealt with before you continue normal use of your application.

    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.

  3. #3
    Join Date
    May 2006
    Posts
    1,443
    there is a workaround solution to it
    i did it many times , but did not tried with AMS dialogs

    i am going to try it with WinApi plugin
    if it works then , i'll show you a sample

  4. #4
    Join Date
    May 2006
    Posts
    1,443
    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


  5. #5
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Quote Originally Posted by reteset View Post
    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

    A lot of people will find that useful, Nice one reteset!

  6. #6
    Join Date
    Aug 2003
    Posts
    2,427
    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.

  7. #7
    Join Date
    Apr 2009
    Posts
    277
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts