|
-
Apr 15th, 2000, 12:07 AM
#1
Thread Starter
Member
Does anyone know how to create a command button
like IE's command button? What I meant is
the button raises when the mouse hover over it.
Are there any ActiveX out? Please let me know.
Thanks,
Laura
-
Apr 15th, 2000, 12:21 AM
#2
Registered User
Laura,
I think that Microsoft have just used the MouseMove event.
I think it was something like that: (or close to it)
Code:
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
'blah
'blah
End Sub
Where the Blah-Blah lines are the code for highlighting the command box object.
Lior, An Israeli Programmer.
-
Apr 15th, 2000, 01:28 AM
#3
Hello Laura,
If you are using VB6 then take a look at the toolbar. It has the ability to be used as a "flat" toolbar along with the three types of images that the IE toolbar has. If you don't have VB6 then you will need to impliment your own toolbar. Take a look around the net I have seen in the past quite a few "toolbar" demo apps out there.
Hope this helps a little.
Roger
-
Apr 15th, 2000, 02:13 AM
#4
transcendental analytic
Hi everyone, If you find any activeX that acts like IE toolbar, please let me know. I'm using VB5
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 15th, 2000, 05:04 AM
#5
Addicted Member
hi kedman, what do ya need exactly, a toolbar acts like IE's or a button does the same thing, if it's a button i remember i'v coded some activex control does the same thing, if so let me know and i'll try to find it and send it to you,,,,
-
Apr 15th, 2000, 10:17 AM
#6
Thread Starter
Member
Replacement for Command Button
What I meant was a command button replacement for the VB6 command button that acts like IE's command button. Mih_flyer, if you have the activeX please email me.
Thanks,
Laura
-
Apr 15th, 2000, 11:34 AM
#7
Addicted Member
Laura, I'm little confused by what exactly you're asking for. Do you mean the "floating toolbars" that IE uses? If this is what you're asking for then you can find the control by adding it from the Project > Components dialog. Add the following Control:
Microsoft Windows Common Controls-3 6.0
This will add the CoolBar control. Naturally, this can only be added in VB6, it may be available in VB5, but I'm unsure from where.
I hope this is what you're where asking for, if not explain what it is you need exactly.
-
Apr 15th, 2000, 03:18 PM
#8
transcendental analytic
Hi Mih_Flyer! Yes! send me that ActiveX to me, please. Thanks!
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 15th, 2000, 08:25 PM
#9
Hello Laure,
I was thinking about your post and I once wrote a Tic Tac Toe game with buttons like the IE toolbar. The way I did this was with a array of picture boxes and separate images for the flat up and down positions. I still have that game on my machine here someplace if you would like to see it I could send it over to you. I know it's not a control that would be too easy but still it does what your looking for.
Best
Roger
-
Apr 15th, 2000, 11:36 PM
#10
Thread Starter
Member
RVA, Please send it to me. My email is [email protected].
THanks,
Laura
-
Apr 19th, 2000, 04:33 AM
#11
Addicted Member
Hello kedman, The activex i told ya about i lost it, but i can make one for you if you would like to, i'm free and i have nothing to do, sorry coz my replay came late coz i had to travel and i just came back, please reply as soon as possible.
-
Apr 19th, 2000, 05:00 AM
#12
Have a look at the vbaccelerator site.
They have all kind of cool controls, and you can download the source code to.
http://www.vbaccelerator.com/codelib/comctl/retbar.htm
-
Apr 19th, 2000, 06:38 AM
#13
Thread Starter
Member
Thanks Everyone!!!
Thanks to everyone helping me out. Especially the last one.
-
Apr 20th, 2000, 12:28 AM
#14
transcendental analytic
Frans, I'm having problem installing the control from vbaccelerator. I downloaded vbalTbar.OCX and cNewMenu.DLL but still not work.
The exefile shows this error:
Run-time error "429": ActiveX component can't create object
and the code stops at "Private WithEvents m_cMenu As cPopupMenu" where it says "Can't find project or library"
I don't get it. Please help.1
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 20th, 2000, 04:04 AM
#15
Don't forget to read the small print.
These projects require the SSubTmr.DLL component. Make sure you have loaded and registered this before trying any project.
http://www.vbaccelerator.com/codelib...mr/ssubtmr.htm
P.S. You can use regsvr32 to register.
-
Apr 20th, 2000, 04:15 AM
#16
transcendental analytic
Still don't work, what is that Service pack 2? Do I need that?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 20th, 2000, 08:07 PM
#17
Member
Easiest way!
Try the DevPower (http://www.devpower.com) flat button control. I've used it for a long time and it is great! The only problem is that it doesn't have what I was looking for, a MouseEnter and MouseExit event, but it does the eye candy that you're talking about.
-
Apr 20th, 2000, 11:32 PM
#18
I think the problem is that these controls where compiled with vb5. If you use vb6, you need the msvbvm50.dll.
Or maybe even better, download the source code and compile them yourselve. That way you don't need to deploy 2 of these bulky vb dll's with your app.
-
Apr 21st, 2000, 03:26 AM
#19
Lively Member
This is for filburt1
I download the Flat Button, how do you add the menu items to
the button?
-
Apr 21st, 2000, 05:17 AM
#20
transcendental analytic
AAAARGHH!
i HAVE VB5 and I run both the source code, and the exe, the ocx is already compiled (and I don't want to boy the source for it) So I'm out of ideas, I really like to have that activeX. I installed the goldfish, but it doesn't work, the goldfish crashes.
I tested flatbutton to but it's too unstable, pressing a button here, pressing another button, and it crashes. And for the souce, it crashes my system.
            
AARGH! I'm just about to make my own control, and it allready supports mouseenter and exit.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 21st, 2000, 08:03 AM
#21
Sorry, but I am out of ideas.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|