Announcement

Collapse
No announcement yet.

Closing the DialogEx window when clicking outside it's windows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BioHazard
    replied
    Yes, control of the application is passed to the child window when a DialogEx is open. And you can't Page.Jump from any of its events. That's why it's not working for you.

    So instead, you have to think 'around' the problem. And find a way to execute the desired action from the parent window. Try executing this from a button on your first page:
    Code:
    if (DialogEx.Show("Dialog1", true, 220, -120) == IDCANCEL) then
        Page.Jump("Page2");
    end
    Attached Files

    Leave a comment:


  • iganrous
    replied

    Hello, I am using dialog boxes to jump to other pages, but I understand that it is a condition that the dialog box is not visible. I put the instructions of Jump.Page in OnClose of Dialog, closes the dialogue box but I can not get it to navigate to the indicated page, any ideas? Thank you

    Leave a comment:


  • kingzooly
    replied
    Originally posted by theskull View Post
    DialogEx and MouseDll demo
    REUPLOAD



    [ATTACH]n300708[/ATTACH]

    Better if you post apz's people can't learn from exe's and there was no need for a splash screen, if this ins now your work you need to make that clear, if it's your work then please stop showing off and take part thanks, sorry if you think I am been harsh but I learnt nothing from the exe.

    Leave a comment:


  • theskull
    replied
    DialogEx and MouseDll demo
    REUPLOAD



    DialogExonMouseDLL.rar


    Leave a comment:


  • kingzooly
    replied
    Thinking about it, I would of been using one of the first versions of AMS 8, so this method or one like it might of been the one I did I do remember it wasn’t much code, and now I sat thinking about it I think I remember why I stopped working on the idea as it was patched out.

    So I think for simpler user the winapi version what is also as simple in code will there best option I myself will still be looking in to this but I also feel that might be the best idea also for my active projects.

    I have really enjoyed this thread guys thanks for making a good one, I am working on new ideas and new or updates plugin ideas I have not given up on AMS yet.

    Leave a comment:


  • BioHazard
    replied
    Thanks, Bryzzy!

    Update: Bingo! Now we're getting somewhere.
    Just rebuilt and ran original apz in AMS v7.5 to see what would happen.
    Then ran apz again under AMS v8.5.2.0 Trial-Edition to compare.

    Results:
    AMS v7.5 - works perfectly
    AMS v8.5.2.0 (Trial-Edition) - fails miserably!

    Attached is a video demo showing both builds running side-by-side.
    (Nb. All tests on my system done under WinXP-SP3)

    So yes, it appears to be an AMS version issue, not an OS issue.
    And with Bryzzy's confirmation on v8.0, it appears something in AMS changed early on in version 8 (some time after v8.0.5.0)

    Attached Files

    Leave a comment:


  • kingzooly
    replied
    Originally posted by MrBryza View Post

    I am using version 8.0

    yes Bio
    Are you using the personal ed, it has a green logo rather then the blue one when starting up.

    Leave a comment:


  • MrBryza
    replied
    Originally posted by kingzooly View Post

    What version of AMS are you using MrBryza
    I am using version 8.0
    PS. Can I call you, 'Bryzzy'? LOL, 'MrBryza' just doesn't roll off the tongue for me.
    yes Bio

    Leave a comment:


  • BioHazard
    replied
    Originally posted by MrBryza View Post

    I can confirm I am using Win7 64bit.
    Thanks MrBryza. So for you, it;s working on 64-bit Win7, right? Wow, this really deepens the mystery. Everyone is getting different results, yet there seems to be no 'common' thread' that would account for the differences. Unless it is related to the version of AMS being used? Which version of AMS did you run the apz on, MrBryza?

    PS. Can I call you, 'Bryzzy'? LOL, 'MrBryza' just doesn't roll off the tongue for me.

    Leave a comment:


  • kingzooly
    replied
    Originally posted by MrBryza View Post

    I can confirm I am using Win7 64bit.
    What version of AMS are you using MrBryza

    Leave a comment:


  • MrBryza
    replied
    Originally posted by BioHazard View Post
    The curious thing still though, is that MrBryza confirms the original example as 'working' on his Win7 machine. I'm betting that his system is 32-Bit, though. Can you confirm this, MrBryza? When you tested the original example, was it on a 32-bit version of Win7?
    I can confirm I am using Win7 64bit.

    Leave a comment:


  • kingzooly
    replied
    Originally posted by BioHazard View Post
    PS. So you found drivers for the 64-bit version of WinXP??? Point me in the direction and I'm right there with ya! So much lost RAM potential in 32-bit.
    I am using full version of 8.2

    Leave a comment:


  • BioHazard
    replied
    PS. So you found drivers for the 64-bit version of WinXP??? Point me in the direction and I'm right there with ya! So much lost RAM potential in 32-bit.

    Leave a comment:


  • BioHazard
    replied
    Yes, it is. AMS Personal Edition v8.0.5.0. Hadn't even considered that the AMS version might be playing into this. Good grief, so many variables to crosscheck - this is a slapdash way to diagnose problems, eh? Much better if we all had every version of every software - LOL - then it'd be a snap!

    Leave a comment:


  • colc
    replied
    Hi Bio just tested on both XP 32/64 VMWares with preview and no Go, your page jump worked on both
    Is your ams personal version?

    Leave a comment:

Working...
X