procedure TForm1.Button1Click(Sender
VAR
H : HWND;
begin
// Find the Caption of the Control Panel Window
// I have a German Version of Windows so I dont know
// The Caption of the Control Panel
H := FIndWindow (NIL,'Control?Panel'); <-------
IF H<>0
Then
postMessage(h,wm_close,0,0
end;
Best Regards
Cesario
Main Topics
Browse All Topics





by: YodaMagePosted on 2001-11-15 at 12:01:44ID: 6636538
type THandle = Integer;
property ControlPanelHandle: THandle;
Description
ControlPanelHandle is the handle to the Control Panel or the controlling application (the application which invoked the CplApplet function).