Forum: Win32/Win64 API (native code)
Delphi
by Logic,
17. Apr 2006
Hey danke, hat funktioniert... nur das Problem ist, dass mit dem Code das Form immer im Vordergrund bleibt mhh und ich will doch eigentlich genau das Gegenteil...
Forum: Win32/Win64 API (native code)
Delphi
by Logic,
16. Apr 2006
Du sorry bei mir klappt das nicht, wenn ich es hier hin mache:
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
XPManifest1: TXPManifest;
RadioButton1: TRadioButton;
protected
procedure CreateParams(var Params: TCreateParams); override;
end;
Forum: Win32/Win64 API (native code)
Delphi
by Logic,
16. Apr 2006
Hallo!
Ich beziehe mich auf den Anfang vom Thread, also das Grundproblem :)
procedure TForm1.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
Params.WndParent := GetDesktopWindow;
Params.Style := WS_CHILD;
end;