procedure TPostForm_.CreateParams(var params:tcreateparams);
begin
inherited CreateParams(params);
params.Width:=rsposttype.width;
params.Height:=rsposttype.height;
params.WndParent:=GetDesktopwindow;
params.ExStyle:=params.ExStyle or WS_EX_TOPMOST or WS_EX_TOOLWINDOW or WS_EX_ACCEPTFILES or WS_EX_NOPARENTNOTIFY;
end;
也许你要说不用调用createparams可是我确实在以后的功能里必须使用他。谢谢