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 

disable standard window buttons (close/iconify/activate) + a

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi ObjectPascal
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Wed Aug 30, 2006 6:37 pm    Post subject: disable standard window buttons (close/iconify/activate) + a Reply with quote



Hi everyone. Two questions for you.

1) I want to create an application, say MYAPP, whose
termination has to be possible ONLY by clicking a generic
Button1 upon main form AND NOT by clicking the standard
'X' (close) button upleft in the window. In other words, I'd like
to disable 'X' (close) button. How to?

2) Suppose I set automatic start of MYAPP. This is quite simple,
for example by adding a value in a specific registry key
(seems to me it is
HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\run).
My question now is: who does terminate automatically started tasks at
logoff time? OS? Or, concerning MYAPP, is my job to prepare its
termination at logoff time? If so, how to?

Thanks everyone, bye
Back to top
Riki Wiki
Guest





PostPosted: Thu Aug 31, 2006 2:30 am    Post subject: Re: disable standard window buttons (close/iconify/activate) Reply with quote



On 30 Aug 2006 06:37:09 -0700, pgianessi (AT) yahoo (DOT) it wrote:

Quote:
Hi everyone. Two questions for you.

Hoi

Everyone is not so many around here.

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Further, this news
group do not officially exist, the group to use is
borland.public.delphi.language.delphi.win32.

How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi ObjectPascal 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.