Indigo Rose Software

Professional Software Development Tools

 
Page 1 of 5 1 2 3 ... LastLast
Results 1 to 15 of 65
  1. #1
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137

    DLL = Custom Sized Image Popup...

    Here is my next (more useful) offering, with regards to creating .dll files for AMS 5 Pro (remember: you need AMS 5 Pro because of the .dll function call!)

    Here is the DLL "call" (to use a DLL in AMS 5 Pro) and comments for the .dll:

    --[[
    This is a .dll that "pops up" an image of the size you specify in the DLL call (see: below -- width by height)
    Remember this is version 1.0, so you can only use a .bmp (bitmap) image and you must rename it to 'popup.bmp'
    Finally, the bitmap image and the CustomPopup.dll needs to stay in the "AutoPlay\\Docs" directory
    ]]


    Next, here is the link for the AMS 5 Pro project file (.apz):

    http://www.amsuser.com/ams/examples/...-Intrigued.apz

    And here is the link to a working .exe for those without AMS 5 Pro (so this is a demo for you):

    http://www.amsuser.com/ams/examples/...-Intrigued.exe

    Let me know if you run into a snag. I plan on having more features and flexibility built into this .dll, sooner than later. Remember, this is day three for me with .dlls. So, I'm not an expert by any means. Thanks for your patience.
    Intrigued

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hey, that really boogies. Boogie down!


  3. #3
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Thanks Corey.

    Another thing that some may or may not like is that the image pops up in the middle of the screen based on the screen dimensions themselves and not the location of the application.

    I changed the flag needed for that and tried the .dll out again. Now it will center in on the AMS application. If anyone needs an updated .dll based on that... just say so and I will share such.
    Intrigued

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Isn't there someway to make that optional during the .dll call?

  5. #5
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Let me work on that, there should be a way. The other variables work find in that same section.
    Intrigued

  6. #6
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Updated: Now you can center the image to the application or to the screen.

    Note: Use the same links as my previous post. The .dll has been more aptly called CustomImagePopup.dll (as the previous name was a little vague for what I eventually have coming up. ;-))

    Thank you Corey for pushing me. That would have been easy but I had to figure out how to work with a Constant, which I thought returned a string, when it returned a number.

    Zig, when I should have shagged, at first.

    Intrigued

  7. #7
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Awesome stuff Intrigued. I'm jealous of that rewarding feeling you must be basking in. Hee.

  8. #8
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Quote Originally Posted by Corey
    Awesome stuff Intrigued. I'm jealous of that rewarding feeling you must be basking in. Hee.
    I must admit... it's a good feeling when you finally work through a problem to a successful conclusion. It's the "don't rest on your laurels" that always gets me.

    Intrigued

  9. #9
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hee.

  10. #10
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Go Intrigued!!

    I'm "chuffed" for you to have accomplished this. Good for you.

    Quote Originally Posted by Corey
    I'm jealous of that rewarding feeling you must be basking in
    I'll second that.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  11. #11
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Thanks Derek. I'm glad you used chuffed and not the one without the 'ed'.

    ;-)
    Intrigued

  12. #12
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    lol - i can make noisey exhalations too, but you'll never know about it !!!
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  13. #13
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Tonight I am going to work on getting a Tooltip (crashed my app. last night for some reason) to work, and maybe a left and/or right click on the image to work, also having the ability to set a custom Title for the window, and finally the ability to absolute position the window (which will be nice I am hoping for quasi-modal placement).

    It looks like another 3 am. night coming up.

    Intrigued

  14. #14
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    That's DLLiscious I-Man.

    (I know that was *REALLY* bad, but it's all I could come up with)

  15. #15
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Thanks Worm, for the kind comments and getting me motivated to learn this here .dll stuffs!

    DLLlighted to make a contribution on the .dll front, even if in some small way.
    Intrigued

Page 1 of 5 1 2 3 ... LastLast

Similar Threads

  1. Switching pictures with forward/back buttons
    By ilandv in forum AutoPlay Media Studio 4.0
    Replies: 10
    Last Post: 08-08-2004, 04:51 PM
  2. Function: Resize & Center an Image
    By kpsmith in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 01:36 PM
  3. Making a Thumbnail Image Browser
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 02:16 PM
  4. Making an Image Browser
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 02:06 PM
  5. Reloading Image Objects at Runtime
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 10:26 AM

Posting Permissions

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