Autor Beitrag
Evian
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Mo 19.04.04 11:39 
Kann man irgendwie über das eigene Programm die Position der Taskbar verändern bzw. vergrößern und verkleinern?!
Würde mich über einen Tip freuen!

MFG

Evian
Tana´Ri
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 230



BeitragVerfasst: Mo 19.04.04 14:16 
Stichwort zu PSDK / MSN Lib.:

SHAppBarMessage

(handleAppBar := FindWindow('Shell_TrayWnd',''))

_________________
mfg
Tana´Ri
daPimP
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54
Erhaltene Danke: 1

Win XP
D6, D7
BeitragVerfasst: Mo 19.04.04 20:56 
Kleiner Ausschnitt aus meinem SySMaster


Dies ist nur bei Fenstern sinnvoll, nicht bei Komponenten!
Sollte so jedes Fenster gehen, leider nicht die Taskbar. :oops:
Sollte dir ja auch nur ein Ansatz sein!
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
procedure TForm1.SizeChangeClick(Sender: TObject);
var parent: hwnd;
p:trect;
begin

parent:= GetParent(HN);

GetWindowRect(HN, P);
label20.Caption:=
'bottom:'+inttostr(p.Bottom)+' - '+
'topleftY:'+inttostr(p.TopLeft.y)+'=HÖHe'+ ^j+
'top:'+inttostr(p.Top)+^J+
^J+
'right:'+inttostr(p.Right)+' + '+
'topleftX:'+inttostr(p.TopLeft.X)+'=BREITe'+ ^j+
'left:'+inttostr(p.Left);

                      // links, oben, breite, höhe, repaint
 MoveWindow(HN, 10, 40, 300, 400, true);

end;


//HN ist das Handle vom Typ HWND

Moderiert von user profile iconMotzi: Code- durch Delphi-Tags ersetzt.

_________________
watch out ... SySSnapper... coming soon
Evian Threadstarter
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Di 20.04.04 10:46 
Ich Danke euch!!!

Kann ich so super gebrauchen.

gruss
Evian