PDA

View Full Version : Window Mask changing



Josué Alba
12-22-2004, 12:43 PM
This is an example of changing the mask on runtime (not actually on runtime but almost)
I used the Brett's argument example to complete this.

New Shape (http://www.indigorose.com/forums/attachment.php?attachmentid=1286)

You could eliminate the application sleep from the code, and in the page 3 (round). And there are some code lines at the preload evnt, erase them!
Thanks if any other bug please tell.

Worm
12-22-2004, 01:25 PM
Here's an example that *DOES* change the mask at runtime :)

Worm
12-22-2004, 01:56 PM
I checked out your app Josué.

Neat concept! Way to think outside the box!

TJ_Tigger
12-22-2004, 02:01 PM
Oops he did it again.

Great job Worm

Worm
12-22-2004, 02:38 PM
Here's an another little demo of using the DLL to Mask the borders of the Web Object. Create a Mask to hide them, then apply it, simple as that.

Also show how you can mask the Web Object itself. I haven't tried it, but I believe it would work on any object that returns a valid Window Handle.

JimS
12-22-2004, 02:49 PM
Great Job Josué, :yes it is cool to see the forums gain another member who can build DLL’s. Hats off to you ‘real’ programmers out there.

Worm, you did it, way cool. I checked out your web site but don’t see it listed for sale yet. Hopefully soon. I predict this will be one of the more popular plug-ins available. :yes

Worm
12-22-2004, 02:56 PM
Yea, I know. This thing has been sitting on my hard drive since last May or so. Remember the Splash Dialog DLL? Same concept, but I took it a step further. It's been a crazy/insane summer and fall so I haven't had a chance to get everything I need together, but soon, very soon.

Worm
12-22-2004, 02:58 PM
another member who can build DLL’s


Hee! Hee! Josué

Changing the file extension served it's purpose :)

JimS
12-22-2004, 03:07 PM
Worm, you’re on fire! One dll that allows changing the page masks, and gets rid of the web object boarders. This is definitely going to be huge. I hope that you get this up for sale soon.

TJ_Tigger
12-22-2004, 03:08 PM
I like the funky mask. Too cool.

TJ_Tigger
12-22-2004, 03:09 PM
Hee! Hee! Josué

Changing the file extension served it's purpose :)


:) teehee :)

rhosk
12-22-2004, 03:09 PM
AHHHH, I see what he did. Excellent.....!

Your secret's safe with me Josué ;)

Done this myself in one of my projects.

JimS
12-22-2004, 03:12 PM
Hee! Hee! Josué

Changing the file extension served it's purpose :)

Smart fellow you are Josué. :D

Worm
12-22-2004, 03:15 PM
While were on that subject. Remember that your buttons are really only ZIP files with BTN extension. I've been know to hide a picture or two in my BTN files (sneeky, huh?)

TJ_Tigger
12-22-2004, 03:18 PM
While were on that subject. Remember that your buttons are really only ZIP files with BTN extension. I've been know to hide a picture or two in my BTN files (sneeky, huh?)

Wasculwe wabbit . . . oh is dat Wasculwe Worm

Josué Alba
12-22-2004, 08:04 PM
Worm you're amazing! real you are always taking everything out. Please never leave us.
JimS thanks but it's not dll, jajaja I always do this for the ones who can't see the code jajaj Thx

JimS
12-23-2004, 07:51 PM
Animated GIF’s with transparent backgrounds is a feature that many of us have dreamed of.Worm’s new DLL makes it easy to add this ‘apparent’ effect. It’s super easy, and best of all, it doesn’t require any use of the ‘On Timer’ event, or trying to string together multiple static images.

It uses standard animated GIF’s with transparent backgrounds.

Check out how easy and seamless it is.

It looks to me like his new DLL is going to be the answer to several of our dreams. This has got to be one of the best add-ons yet for AMS. :yes :yes :yes

Worm
12-23-2004, 08:18 PM
That's cool Jim! Another little use I hadn't even thought of.

Intrigued
12-23-2004, 08:25 PM
Boy (girl), that's an awesome find Jim!

Intrigued
12-23-2004, 08:46 PM
JimS, have you tried animated .gifs in Kiosk Style yet? I found that mode "breaks" the .dll's ability with regards to animated .gifs.

Worm
12-23-2004, 09:08 PM
Let me 'splain here.

Using KIOSK mode, at this time, will be a little unpredictable. The issue comes from the X, Y point passed to the DLL. When "Windowed" the DLL will work by using the Top, and Left of the object you want to Mask. When in KIOSK mode, there will need to be an offset added to the X and Y coordinates. I have to figure that part out.

Intrigued
12-23-2004, 11:37 PM
I remember Bret had put forth the code to maybe help in this case. Just need to find the link. (I may have it in a file still)

Worm
12-23-2004, 11:41 PM
I've got it Intrigued. Well, at least I have it working on the video object in kiosk. Still acts funny on the web object though.

I did it with my DLL, but here is Brett's post
http://www.indigorose.com/forums/showpost.php?p=26224&postcount=14

Intrigued
12-23-2004, 11:51 PM
That's the one!

GAV
12-24-2004, 05:20 AM
Worm!
It is good work! :yes
And how to clean the message on a DEMO mode?
It needs to be bought?
On a site there is no information...

JimS
12-24-2004, 06:07 AM
Worm, I don’t think the power of this DLL has really sunken in to everybody yet, myself included. I expect that in time, some of the bright developers around here will come up with several ideas that none of us have even thought of yet.

Even if we limit our thoughts to what I suspect is its primary function, the ability to change the mask on a project. That means that as developers, our programs now have the ability to dynamically transform in shape, size, and function, and do it interactively.

When we combine the power that AMS already has with some graphic design skills and a version of the mathematical algorithms in Mark’s Bouncing Balls example, (http://www.indigorose.com/forums/showthread.php?t=7547 ) we can imagine our program transforming into a basketball, and ricocheting off the four sides of the screen between pages. Talk about a page transition! Since we can alter size as well, the page transition animation could also appear to be 3-D. I’ve checked, and at least from a hard drive, you can achieve pretty good frame rates on changing the mask of a single page, even when it’s playing a video object on the page. It’s not practical to share my example, because at 10+ frames a second, the ‘occasional’ nag screen of the demo version of the DLL, becomes a bit unwieldy. (Not complaining Worm, your little random nag screen is a small inconvenience in order to get to actually play with it before we buy it) We are really talking about a whole new level of ‘Eye-Candy’ for us AMS developers.

So, the eye-candy appeals to the graphic design side of us, but the real power, I think, comes more from the prospects of greater usability for the user. Ergonomic Applications. Did I ‘coin’ something there? A single program that takes on the ‘look and feel’, and shape, of a calculator, when it, well, acts like a calculator. When it plays a video file, It takes the shape of an old tripod mounted movie screen, or if the user prefers, a TV set. Being able to change size and shape of the complete application takes the idea of custom skinning to a new level. How about a browser window that unrolls, to open? All of these things can be ‘altered states’ of the same program. When it’s not busy calculating, browsing, or playing a video, it can disappear into a ‘toolbar’, a desk top icon, or futuristic key fob.

It seems the possibilities are only limited to a persons’ imagination. I’m sure that once a few of the talented minds around here give this DLL some thought, we’re going to see some crazy cool ideas that will further amaze us all.

Intrigued
12-24-2004, 12:02 PM
Note: Before you try this understand that Ctrl+Alt+F4 is one way to break out of the program!

Here's a weird example use (and useless outsite of bad joke)...

I put all of the On Show code to the On Preload and made the mask image only 1 pixe by 1 pixe. Next, I set the applicaton to Kiosk Style (mode).

Next, I Previewed (F5) the application and I found that it looked like nothing happened! But, try to click on your screen... it will seem "dead". That's because the AMS application is running full-screen and invisible.

I doubt there is a legitimate use for such, but, it was intriging to me nontheless.

ScottDuncan
04-19-2005, 07:37 PM
Well i was reading through this thread and here's some more ideas,

1) How about folders in the object list and page list (in design mode) like Photoshop CS?

2) dRuler is going to be very usefull

3) How about a Transparency in the Listbox, like the paragraph object has?