Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cesar
  Where is Cesar?
 
 Brazil
 Cesar
 To: Bernard Bout
  Where is Bernard Bout?
 Brisbane
 Australia
 Bernard Bout
 Tags
Subject: RE: A Class I am working on
Thread ID: 154339 Message ID: 154700 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Tuesday, December 18, 2007 11:12:30 PM         
   


> >
> > I wasnt meaning this way...
> > What I tried to do is to keep the objects in the same original dimension, without having to resize the toolbar to become so big.
> >
> > For my need, it is required another object outside the form / toolbar for the effect,
> >
> > Cesar Chalom
> > My Blog
>
> I see what you mean. Have a small toolbar with smallicons that expand OUTSIDE the toolbar. For that you'd need some serious API's.
>
> On another track, have you seen the image in this post?
> https://www.foxite.com/archives/0000154489.htm
>
> I created the "reflected" images bu "flipping " the original image and increasing the alpha transparency to 60% of the original. I did this manually in Paint Shop Pro. This is a good candidate for GDI+X if I can generate the "reflected" images on the fly from the original using GDI+x. Any ideas come to mind?
>
>
>
> Bernard
>
> ** If you see someone without a smile, give em one of yours :) **


There are some other people that want to apply some special effects in images in some of their classes that they want to distribute.

For this case, I will create a small FUNCTION that will apply a colormatrix to a given image, using only DIRECT API CALLS - no GDI+ wrapper class. Pure VFP code accessing the GDIplus.dll

This way, you'll be able to add one single method to your class, and it will do all the job.

The use would be something like this:

lcGreyScaleMatrix = bintoc(0,"4rs") + ..........  all the 25 positions
This.ApplyColorMAtrix(GETPICT(), lcTempPictFileName, lcGreyScaleColorMatrix)


If the 2nd parameter is logical TRUE, then the returned value will be the pictureval, instead of creating a file.

What do you think of this ?



Cesar Chalom
My Blog

ENTIRE THREAD

A Class I am working on Posted by Bernard Bout @ 12/14/2007 3:41:49 PM
RE: A Class I am working on Posted by Eric den Doop @ 12/14/2007 3:44:29 PM
RE: A Class I am working on Posted by Ken Murphy @ 12/14/2007 3:44:36 PM
RE: A Class I am working on Posted by Benny Thomas @ 12/14/2007 7:24:15 PM
RE: A Class I am working on Posted by Don Higgins @ 12/14/2007 7:27:07 PM
RE: A Class I am working on Posted by Emerson Reed @ 12/14/2007 8:02:39 PM
RE: A Class I am working on Posted by Cesar Chalom @ 12/14/2007 8:33:09 PM
RE: A Class I am working on Posted by Emerson Reed @ 12/15/2007 11:07:49 AM
RE: A Class I am working on Posted by M. Tanveer Ul Hassan Shaheen @ 12/18/2007 7:59:39 AM
RE: A Class I am working on Posted by Emerson Reed @ 12/18/2007 12:45:17 PM
RE: A Class I am working on Posted by M. Tanveer Ul Hassan Shaheen @ 12/18/2007 2:09:10 PM
RE: A Class I am working on Posted by Emerson Reed @ 12/19/2007 11:22:57 AM
RE: A Class I am working on Posted by Bernard Bout @ 12/15/2007 4:34:30 AM
RE: A Class I am working on Posted by Emerson Reed @ 12/15/2007 2:20:06 PM
RE: A Class I am working on Posted by Bernard Bout @ 12/15/2007 2:53:00 PM
RE: A Class I am working on Posted by Emerson Reed @ 12/17/2007 11:34:46 AM
RE: A Class I am working on Posted by Larry Crumbie @ 12/15/2007 3:59:10 PM
RE: A Class I am working on Posted by Bill Chambers @ 12/17/2007 5:32:12 PM
RE: A Class I am working on Posted by Mike Yearwood @ 12/17/2007 6:05:37 PM
RE: A Class I am working on Posted by Cesar Chalom @ 12/17/2007 6:24:12 PM
RE: A Class I am working on Posted by Bernard Bout @ 12/18/2007 1:48:37 AM
RE: A Class I am working on Posted by Cesar Chalom @ 12/18/2007 12:00:55 PM
RE: A Class I am working on Posted by Bernard Bout @ 12/18/2007 2:12:27 PM
RE: A Class I am working on Posted by Cesar Chalom @ 12/18/2007 3:25:23 PM
RE: A Class I am working on Posted by Bernard Bout @ 12/19/2007 12:14:22 AM
RE: A Class I am working on Posted by Bernard Bout @ 12/19/2007 1:03:42 AM
RE: A Class I am working on Posted by Cesar Chalom @ 12/22/2007 3:13:25 PM
RE: A Class I am working on Posted by Bernard Bout @ 12/23/2007 12:39:57 AM
RE: A Class I am working on Posted by Cesar Chalom @ 12/18/2007 11:12:30 PM
RE: A Class I am working on Posted by Bernard Bout @ 12/18/2007 1:47:02 AM
RE: A Class I am working on Posted by Ronan Masangcay @ 12/24/2007 11:11:38 AM
RE: A Class I am working on Posted by Boudewijn Lutgerink @ 12/25/2007 9:27:37 AM