Solved

Windows 2000 Fade-In Menu Effect

Posted on 2001-08-28
11
195 Views
Last Modified: 2010-04-06
Does anyone know how to make menus fade-in and fade-out just like in Windows 2000? I would really appreciate some help. Thanks!
0
Comment
Question by:New2Delphi
11 Comments
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 6431145
0
 
LVL 17

Expert Comment

by:inthe
ID: 6432633
0
 

Author Comment

by:New2Delphi
ID: 6434581
I tried it but it doesn't seem to have a fade option. Can anyone else help me?
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6435068
Actually I believe the fade effect is handled by the system and not the object itself. Mainly because if one menu does a fade then all the menus on the system will have that affect. It is not like you can have the menu fade on one and then not on another. In other words it is system wide and not localized on a per app basis.


The Crazy One
0
 
LVL 17

Expert Comment

by:inthe
ID: 6435246
yep seems crazyone is right ,i see the settings on win2k and im sure its there on win98 also under "display properties" - "effects" where you set it to fade or scroll
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:New2Delphi
ID: 6435304
Win9x, Me, and NT don't have that option. Only Windows 2000 does. I'd like my program's menus to emulate that effect. If you have code that does just that, please share it with me.
0
 
LVL 17

Expert Comment

by:inthe
ID: 6439427
i can tell you who do have this effect/option
http://www.animatedmenus.com/
but it $44.00 for standard version & more for sourcecode/developer version.
0
 

Author Comment

by:New2Delphi
ID: 6443447
I need free source code. Please help me. Thanks!
0
 
LVL 17

Expert Comment

by:inthe
ID: 6443766
hi,
just to note one api AnimateWindow() may help (its all i can think of thats left) though you probably have to subclass the tmainmenu and write your own to do it for menus:

example of its use for normal windows:
(should be ok for use for TWinControls)

procedure TForm1.FormShow(Sender: TObject);
begin
AnimateWindow(Form1.Handle,500, AW_SLIDE or AW_HOR_POSITIVE or AW_ACTIVATE);
end;

procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin
AnimateWindow(Form1.Handle,500, AW_SLIDE or AW_HOR_NEGATIVE or AW_HIDE);
end;

Can find some more details here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/hh/winui/windows_8e5z.asp

possibly you could find some freeware menu at torrys (linked above) and add to it though i dont think itll be so easy otherwise i guess it would have been done already ,but possibly worth a shot just in case..
gl
Regards Barry
0
 

Author Comment

by:New2Delphi
ID: 6449776
Doesn't work. Sorry! I guess I'll just have to delete this Q.
0
 

Accepted Solution

by:
ComTech earned 0 total points
ID: 6450975
Hi New2Delphi, your delete button does not officially take it away, and some think there is enough information here for a PAQ.

So I will refund your points and move the question to PAQ.

Thanks,
ComTech
Community Support Moderator

 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now