Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Quick one...

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

  • Quick one...

    Is there a way to inhibit the "restore" button once an application is maximized? I'm having a heck of a time with masks, etc...not AMS's fault, just trying to prevent a restore once it's max'd on the screen. I also have Flash loading inside Web Objects, and whew, do they get messed up after a restore.
    Regards,

    -Ron

    Music | Video | Pictures

  • #2
    Hmmm, I'm not sure on the restore issue but just FWIW there's a couple different scaling options available when you publish Flash which pertain to the way in which the Flash will react when resized within a browser, i.e. "Stretch to fit", etc... I'm not sure if that helps but it might in some cases, worth experimenting with for a minute anyhow. FWIW you can also set that option in Dreamweaver or your HTML code, it's not neccesary to re-publish per se. :yes

    Comment


    • #3
      Yeah, I know all about those features, thanks. I just now realized that my masks aren't resizing (blocking the flash with some weird patterns - I thought it was just a refresh/redraw problem). Is there an 'object reference' for a mask?

      And if there's an action to inhibit the restore, that would still fix some problems.
      Regards,

      -Ron

      Music | Video | Pictures

      Comment


      • #4
        Ron, I'm stumbling over what you want. Do you want the window to be resizable, but once it is maximixed, it becomes non-resizable?

        Comment


        • #5
          Yes. I just think that it would solve a few of my problems. The masks ARE resizing, but not really to scale for some reason.

          Sort of like: get the user's resolution - max the window (scaling everything nicely), then hold it there. As you've probably assumed, I'm using Adam's resize template, which works really nice, but as soon as I started adding masked web objects....

          My template is medium (with menu), which I figured was an optimum resolution to initially design everything. If I go the route of just sizing the template to a specific resolution, then I'm backing up. This audience is probably still mostly 800x600 (I prefer 1024x768 for the past few years). This design works great for those 2, and probably larger is not a problem.

          Do you have a solution (trick up your sleeve by chance)?
          Regards,

          -Ron

          Music | Video | Pictures

          Comment


          • #6
            You could try something like this. In AMS, set the window to be resizable so the On Resize event will fire, then use the code below to make the window non-sizable

            I'd put it in the On Show
            Code:
            --Maximize the window
            Window.Maximize(Application.GetWndHandle())
            --change the window to a non-sizable window type
            nLong = DLL.CallFunction(_SystemFolder.."\\User32.dll", "SetWindowLongA", Application.GetWndHandle()..",-16,348782592", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
            Last edited by Worm; 10-13-2005, 08:52 PM.

            Comment


            • #7
              You could not imagine how sweet that works/looks. It even gets rid of the task bar, which is a plus :yes I thought that that wasn't possible with XP. I have to say that this ties in perfectly with the resize template. Exactly what I needed Worm, thanks for looking into it. Hope it wasn't too much trouble.
              Regards,

              -Ron

              Music | Video | Pictures

              Comment


              • #8
                Dang, that *is* sweet. :yes

                Comment


                • #9
                  Glad I could help :yes

                  Comment


                  • #10
                    I just read through my posts:

                    maximixed

                    What the heck is that?


                    Note to self:
                    Google Toolbar has a spell check tool, use it

                    Comment


                    • #11
                      Originally posted by Worm
                      I just read through my posts:

                      maximixed

                      What the heck is that?


                      Note to self:
                      Google Toolbar has a spell check tool, use it
                      LOL. This is a combination of maximize and "mix it up", in other words, have a few drinks, but don't overdo it

                      OR

                      2. (verb) - mix it up as long as you can without creating butter
                      3. (noun) - a new kool-aid flavor
                      4. (adjective) - a new kind of dance

                      I think it should be added to the dictionary this year.
                      Regards,

                      -Ron

                      Music | Video | Pictures

                      Comment


                      • #12
                        Well, it's almost right, really.

                        It's a maximized window in mixed window type (sizable, to non-sizable)

                        See, I knew what I was talking about...

                        Comment

                        Working...
                        X