Autor Beitrag
Thunder
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 145

WinXP
D6 Pers
BeitragVerfasst: Di 07.10.03 21:17 
Hallo

Ich habe das Handle eines Fensters. Kann auch dessen Caption verändern.

Aber wie ändere ich die Fenstergröße??

Gruß,
Andreas

PS.: Hab dazu nix im Forum und in der Windows-SDK gefunden.
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 07.10.03 21:19 
guckst du bei Suche in: Delphi-Forum, Delphi-Library SETWINDOWPOS.

_________________
Viele Grüße
Jakob
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Di 07.10.03 21:19 
guck mal in der OH nach

SetWindowPos()

[EDIT]

Arghhh, zu spät :D
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 07.10.03 21:20 
schneller :mrgreen:

_________________
Viele Grüße
Jakob
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Di 07.10.03 21:21 
es wäre aber auch ziemlich seltsam, wenn hier mal eine Frage länger als 2 Minuten unbeantwortet bleiben würde... :roll:
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 07.10.03 21:23 
*lol* (Was soll ich jetzt dazu sagen) :wink:

_________________
Viele Grüße
Jakob
Thunder Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 145

WinXP
D6 Pers
BeitragVerfasst: Di 07.10.03 21:34 
ja ne das hab ich auch gefunden.

kann mir einer ma n kompletten fertigen quelltext geben??

raff das SetWindowPos net...
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Di 07.10.03 21:35 
so, jetzt aber:

ausblenden Delphi-Quelltext
1:
 SetWindowPos(handle,0,10,10,700,300,0)					


setzt das fenster an die position 10, 10 mit der breite 700 und höhe 300
Thunder Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 145

WinXP
D6 Pers
BeitragVerfasst: Di 07.10.03 21:48 
danke.
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Di 07.10.03 21:49 
kein Problem.
Aber in diesem Fall hättest du ja auch einfach mal in die Onlinehilfe schauen können...
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Di 07.10.03 21:59 
Alternativ gäbe es noch Suche in: Delphi-Forum, Delphi-Library MOVEWINDOW, ist nicht ganz so komplex wie Suche in: Delphi-Forum, Delphi-Library SETWINDOWPOS und reicht IMHO in diesem Fall völlig aus!!

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 07.10.03 22:12 
Wenn man die Position oder die Größe nicht ändern will, ist SetWindowPos praktische -> Suche in: Delphi-Forum, Delphi-Library SWP_NOMOVE OR SWP_NOSIZE.