BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi2005 Ent SP1 - TActionMainMenuBar - MDIChild - bug?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
marsianin76@tut.by
Guest





PostPosted: Fri Dec 02, 2005 3:40 pm    Post subject: Delphi2005 Ent SP1 - TActionMainMenuBar - MDIChild - bug? Reply with quote



Hi folks,

Try please next examples:

Create MDI application with ActionMenuBar on screen, make MDI child
maximized. You will see new functionality of ActionMenuBar - minimize /
maximize / X buttons.

Try to execute also next code in MDIChild on create:

hSysMenu := GetSystemMenu(Handle, false );
DeleteMenu( hSysMenu, SC_CLOSE, MF_BYCOMMAND );

You will see that X button in MDIChild is disable if MDIChild
Windowstate is normal and enabled if maximized.

If you take a look at ActnMenus you will follow why..

FCloseButton is always visible and action of this button is always
enabled in MDIMaximize call.

Another small point:

It seems with me, each minimize / maximize of MDIChild increase
componentscount of ActionMenuBar component. Its always three new
buttons and three new actions created. May be I'm wrong here..

Thanks

Back to top
Riki Wiki Google
Guest





PostPosted: Sun Dec 04, 2005 2:15 pm    Post subject: Re: Delphi2005 Ent SP1 - TActionMainMenuBar - MDIChild - bug Reply with quote



Hoi

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Further, this
newsgroup do not officially exist, use news group
b.p.d.language.delphi.general.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.