madshi wrote:Why don't you use StartButton.Hide and StartButton.Show instead? Then you don't need to restart the explorer at all!
Hello Madshi, is a pleasure to talk to you.
This is the problem: I use StartButton.Close becouse with this i disable "Win" button for Start Menu with StartButton.Hide they don't disable the key.
There's others ways to do this:
1) With a hook but I don't know how do this. I try some example from Torry's Delphi TIPS but they slow down system, while I use Game for example. I need another example.
2) I can disable WIN key in registry for win 2k/XP this solve the problem and I can use in combination with the StartButton.Hide but this requires to restart Computer and only works in 2k/XP and I need compatibility to win9X.
thank's.