John Bird wrote:
Q1 - Can I change the hint on the task bar for a minimised application?
Silly me I assumed that setting Application.Hint:=somestring would do it but
it doesn't, still shows the program name.
Application.Title := somestring;
will work but also changes the text in the title bar.
Q2 - I have the Windows mouse option turned on for the mouse to snap to
(move to a default button).  It doesn't seem to work for Delphi however...I
have an application I would like to do this - I restore the Application from
minimised, it has an OK button with setfocus, but the mouse does not jump to
it...

procedure TForm1.FormCreate(Sender: TObject);
begin
mouse.CursorPos := BitBtn1.ClientToScreen(Point(bitbtn1.width div 2, bitbtn1.height div 2));;
end;

--
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to