[RESOLVED] Image Glow Efect [help]
Hi all, to see if you can help me:
I have an Image and I wanted to give a button, it acquired a glow effect.
Currently I do is put two pictures and when I hit the hidden button and show the normal which has the glow effect ...
But I think it could be done using APIs, right?
Thanks in advance :afrog:
Re: Image Glow Efect [help]
Examples of the "glow effect"?
Re: Image Glow Efect [help]
1 Attachment(s)
Re: Image Glow Efect [help]
Hi, do you mean something like this? (see attached file).
Re: Image Glow Efect [help]
GDI+ can probably do something like that, depending on how elaborate you want to make it I'd say it can do exactly what you want.
Re: Image Glow Efect [help]
Thank you very much reacen!
I was doing something similar, but I think it can be done with APIs and based on only the normal button, can I explain?
Quote:
GDI+ can probably do something like that, depending on how elaborate you want to make it I'd say it can do exactly what you want.
Yeah i wanna something like that!
I do not need a very professional result :P
Re: Image Glow Efect [help]
Quote:
Originally Posted by
*PsyKE1*
Thank you very much reacen!
I was doing something similar, but I think it can be done with APIs and based on only the normal button, can I explain?
Im sorry, I don't understund. Do you mean like a command-button? A simple OCX control instead of all that code?
and by "glow effect" do you mean the fading in, and fading out effect?
Sorry about my english..
Re: Image Glow Efect [help]
Ok, suppose I have this button:
http://www.vbforums.com/
Then when I positioned the cursor over it, showed an effect similar to this:
http://www.vbforums.com/
But without having to use two images, ie using Apis.
Regards :afrog:
Re: Image Glow Efect [help]
I don't know about anyone else, but I cannot see any of your pictures.
Rather than uploading them to an external site, please attach them here instead - which you can do by clicking "Post Reply" (or "Go Advanced" from the Quick Reply or Edit), then "Manage Attachments".
Re: Image Glow Efect [help]
Try this... (without using API's)
Set the backcolor of commandbutton to anything except the default color
Set the style of commandbutton to graphical
Code:
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
If Command1.BackColor <> &HFFFF00 Then _
Command1.BackColor = &HFFFF00
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
If Command1.BackColor <> &HC0C0C0 Then _
Command1.BackColor = &HC0C0C0
End Sub
Re: Image Glow Efect [help]
Ok, but i haven't a command i have a image...
Thacks :P
1 Attachment(s)
Re: Image Glow Efect [help]
Well, I still don't know what you mean. But here you have all the three ways I know to make a graphic button, please see the attached file.
Re: Image Glow Efect [help]
OK, thanks It can help me...
Which of the three ways you make me advice?:confused:
Thanks!
Re: Image Glow Efect [help]
I'd say the ActivX one (OCX), as its verry simple, less code, and clean.
Good luck.