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 

How to disable Start button?

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





PostPosted: Wed Feb 07, 2007 12:55 am    Post subject: How to disable Start button? Reply with quote



How can I disable and enable start menu button by Delphi 6?
Back to top
Patrick
Guest





PostPosted: Wed Feb 07, 2007 12:55 am    Post subject: Re: How to disable Start button? Reply with quote



You have to hide the Button and disable the Key.
I don't remember how, but it's over here:
http://www.q3.nu/trucomania/explorer.html

download:
http://www.q3.nu/trucomania/TMania.zip
Back to top
Patrick
Guest





PostPosted: Wed Feb 07, 2007 1:01 am    Post subject: Re: How to disable Start button? Reply with quote



Disable start button:
EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil), 0,
'Button',nil),false);

Enable it:
EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil), 0,
'Button',nil),true);



--Disable FULL--

var
Reg : TRegistry;
begin
Reg :=TRegistry.Create;
try
Reg.RootKey := HKEY_CLASSES_ROOT;
Reg.MoveKey( '\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}',
'\CLSID\{-5b4dae26-b807-11d0-9815-00c04fd91972}',TRUE);
finally
Reg.Free;
end;
end;


--Enable FULL--

var
Reg : TRegistry;
begin
Reg :=TRegistry.Create;
try
Reg.RootKey := HKEY_CLASSES_ROOT;
Reg.MoveKey( '\CLSID\{-5b4dae26-b807-11d0-9815-00c04fd91972}',
'\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}',TRUE);
finally
Reg.Free;
end;
end;
Back to top
poursadeghi
Guest





PostPosted: Thu Feb 08, 2007 3:25 pm    Post subject: how to transfer big file with socket or tcp ip Reply with quote

how to send or recive file from local area netword
Big file (more than 3GB)
tank you .
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Students 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.