Autor Beitrag
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 28.10.06 09:07 
wie schaff ich es das mein Programm hinter allen anderen Fenstern ist??

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
rizla
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Di 31.10.06 21:57 
hi el,
vllt hilft dir dit hier:
www.swissdelphicente...showcode.php?id=2096
evtl dieses:
forum.dsdt.info/viewtopic.php?t=30250

naja, kannst ja mal sagen, obbet jeklappt hat!

(ich dachte immer, die zorder bestimme das.. wohl geirrt :gruebel:)

gruß .r.


[:r!a: sagt JA zu orthographie ;)]

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Di 31.10.06 22:56 
oder:
ausblenden Delphi-Quelltext
1:
 Form1.SendToBack;					
;)
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 13.11.06 14:00 
ich hab mir jetzt beides Angesehen und hab festgestellt das ich das nicht versteh! beim DSDT ist es mal überhauptnicht erklärt und beim SwissDelphiCenter weiß ich nicht wie / wann man die Procedure aufruft. könnte mir jemand erklären wie ich das in mein Programm einbau?

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 13.11.06 14:29 
Das mit SendToBack bringt doch nicht viel! Sobald du das Fenster anklickst, kommt es doch nach vorne. Wenn du es dann jedesmal nach hinten schickst, dann ist das nicht sonderlich elegant, wenn es überhaupt korrekt funktioniert.

Der Code von den Schweizern ist doch genau das Richtige! Der muss nur ins Formular eingebaut werden... Einfach direkt vor das "end" der Formulardeklaration den ersten Teil und nach "implementation" den zweiten Teil...
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 13.11.06 14:50 
ja aber das von den schweizer funzt nicht richtig.

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 15.11.06 10:40 
ich habs jetzt den ersten Teil bei private eingetragen und den zweiten ganz unter vor das letzte "end." aber es funktioniert noch immer nicht richtig!

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 15.11.06 11:03 
Ok, nimm die if-Abfrage raus. Die wird bei mir gar nicht ausgeführt.

So ists zwar noch nicht ganz richtig, aber fast:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.CreateParams(var Params: TCreateParams);
begin
  inherited CreateParams(Params);
  Params.WndParent := GetDesktopWindow;
  Params.Style := WS_CHILD or WS_CAPTION;
end;
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 15.11.06 11:08 
ok danke! und was ist daran nicht fertig?

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 15.11.06 11:15 
Probiers aus ;-)
Es ist durch die Angabe von WS_CAPTION zwar wieder eine Titelleiste da, aber die Button fehlen noch (da muss dann noch was anderes angegeben werden, weiß jetzt nicht auswendig was ;-)).
Wenn du gar keine Titelleiste willst, kannst du " or WS_CAPTION" auch weglassen.
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 15.11.06 11:17 
ok vielen dank!

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.