Autor Beitrag
foxy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Di 10.06.03 12:32 
guden leute
ich habn Prob und zwar

ich will überprüfen, bei dem ereignis richeditchange, ob die Form minimiert ist.

Ich hab schon einiges ausprobiert mit IsIconic , WMsysCommand
nichts geht

weis einer rat??

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
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 10.06.03 12:57 
ausblenden Delphi-Quelltext
1:
2:
if IsIconic(Form1.Handle) then
  ... // Form1 ist minimiert

Sollte eigentlich so funzen...!

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Terra23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 872

Win 8
Delphi 7
BeitragVerfasst: Di 10.06.03 15:46 
Ich hab da mal 'ne Frage am Rande: Wie kannst du ein OnChange-Ereignis im RichEdit aufrufen, wenn die Form minimiert ist? Dann siehst du doch nichts auf dem Formular, oder? Sag Stop, wenn ich mich irre, aber wenn es geht, erkläre es bitte. :-)

_________________
Hasta La Victoria Siempre
Wolff68
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 302
Erhaltene Danke: 1

WinXP home
D6 Prof
BeitragVerfasst: Di 10.06.03 19:08 
Terra23 hat folgendes geschrieben:
Dann siehst du doch nichts auf dem Formular, oder?

Vielleicht will er ja genau deshalb dann die Form wieder anzeigen!?
DAMIT man was sieht !

Das Programm läuft ja auch im minimierten Zustand weiter und kann in die Memo was reinschreiben.
Beispiel: Chatfenster, das wieder aufgeht, wenn der Gegenüber was schreibt.

_________________
"Der Mensch ist nicht was er sich vorstellt oder wünscht zu sein, sondern das was andere in ihm sehen."
Dezipaitor
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 220



BeitragVerfasst: Di 10.06.03 22:26 
IsIconic
ist doch noch aus der Windows 16bit Zeit :)
damals wurden minimierte Fenster auf den Desktop als Icon abgelegt, weil es noch keine Taskbar gab.
theoretisch könnte man den explorer ja ausbauen und den ProgrammManager wieder verwenden.

ohman, ich hab windows noch nie gemocht :?
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Fr 13.06.03 07:39 
IsIconic geht nicht .... so wie ich es versucht habe ... bringt er mir nicht das gewünschte ergebnis!

Weis einer welchen wert IsIconic zurückgibt`? weil form.handle iss ja ein integer

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Fr 13.06.03 08:25 
Ein Window-Handle ist ein Cardinal-Wert... IsIconic liefert jedoch einen Boolean-Wert. True wenn das Fenster minimiert ist, False wenn das Fenster nicht minimiert ist!

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Fr 13.06.03 08:45 
ja ok aber es geht dennoch nich :)

if IsIconic(frmMain.handle) = true then
begin
blabla

geht nicht !

er erkennt nicht wenn es minimiert ist .. mach er einfach nicht habt schon break points gesetzt nüschts

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 13.06.03 08:56 
Dezipaitor hat folgendes geschrieben:
IsIconic
ist doch noch aus der Windows 16bit Zeit :)

Ja, aber davon ist wohl nur noch der Funktionsname geblieben.
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Fr 13.06.03 11:48 
hab aber imma noch das prob er erkennt das einfach nich

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)