Autor Beitrag
Mäthew Glide
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31



BeitragVerfasst: Sa 21.08.10 21:57 
Hallo!
Ích habe eine Frage: gibt es eine Delphi Function oder PRocedure mit der man die Größe eines extern ausgeführten fensters herausbekommen kann oder gleich selbst die Größe des Fenster festsetzen kann. Ich habe leider keine Delphi Hilfe sonst hätte ich darin gesucht und die SuFu liefert mir auch ncihts passendes.
Danke im Vorraus

mfg
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19339
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 21.08.10 22:04 
Das hat nichts mit der Delphi Hilfe zu tun, die Funktionen findest du in der MSDN Dokumentation:
Zum Beispiel SetWindowPos: msdn.microsoft.com/e...ibrary/ms633545.aspx

user profile iconMäthew Glide hat folgendes geschrieben Zum zitierten Posting springen:
Ich habe leider keine Delphi Hilfe
Die ist doch bei allen Delphiversionen dabei. :gruebel:

Für diesen Beitrag haben gedankt: Mäthew Glide
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 21.08.10 22:05 
Mit dem Handle des Fensters könntest du SetWindowPos verwenden. ;)

lg elundril

//edit: zu langsam :(

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

Für diesen Beitrag haben gedankt: Mäthew Glide
Mäthew Glide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31



BeitragVerfasst: Sa 21.08.10 22:16 
nice danke werd mich mit vertraut machen :) und ja wenn ich die Hilfe starten will gibts bei mir einen Error :-(
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19339
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 21.08.10 22:18 
user profile iconMäthew Glide hat folgendes geschrieben Zum zitierten Posting springen:
wenn ich die Hilfe starten will gibts bei mir einen Error :-(
Wenn du Vista oder Windows 7 und Delphi 7 oder älter hast, brauchst du das entsprechende Update.

Für diesen Beitrag haben gedankt: Mäthew Glide
Mäthew Glide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31



BeitragVerfasst: Sa 21.08.10 22:27 
okay danke für den Tipp mhh
dieses SetWindowPos will bei mir nicht habe bei Uses WinAPI hinzugefügt doch dann will es trotzdem nicht. Ich bekomme gesagt dass die Datei Win Api.dcu nciht gefunden wird
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 21.08.10 23:05 
Ich hab jetzt grad kein Delphi bei der Hand aber ich denke die Unit heißt ShellApi und nicht WinApi.

lg elundril

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

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Sa 21.08.10 23:28 
Nö.

SetWindowPos ist in winapi.h oder in Delphi eben Windows.pas.

Frühere Delphi-Versionen hatten dafür mal Aliase... gibts die nicht mehr?

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19339
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 21.08.10 23:33 
Steht auch in der Dokumentation. :roll:
Zitat:
include Windows.h
Woher kommt winapi.h?
Mäthew Glide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31



BeitragVerfasst: So 22.08.10 00:04 
okay hab verstanden und include windows.h ist für c++ oder?
Ich habe jetzt nur noch ein problem ich weiß nicht auf was ich den ersten parameter setzen muss.
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: So 22.08.10 00:06 
Da musst du das Handle von dem Fenster übergeben das du ändern willst. Das kannst du zb mit FindWindow herausfinden.

lg elundril

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