Autor Beitrag
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Di 03.05.05 21:15 
Hi!

Hab bei der Programmierung meiner neuen Kompo ein Problem: das Hintfenster verschwindet nicht mehr; es bleibt immer ein kleiner Teil übrig. Fehlt im Code irgendwas oder ist was falsch?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
    if FHintWnd.Caption <> '' then begin
      FHintWnd.Caption := ''; //Keine Caption um Hintfenster verschwinden zu lassen
      FHintWnd.Visible := false; //Hintfenster unsichtbar machen
      FHintWnd.Invalidate; //Hintfenster neu zeichnen um es endgültig verschwinden zu lassen
      //Hier muss irgendwo ein Fehler sein, da das Hintfenster nicht verschwindet
      end;


AXMD
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Di 03.05.05 21:21 
probiers mal mit postmessage(FhintWnd.handle,SW_HIDE,0,0);

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
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 03.05.05 21:23 
Das ist aber nicht die richtige Art das Hintfenster verschwinden zu lassen..!

Korrekt wäre: FHintWnd.ReleaseHandle;

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Di 03.05.05 21:38 
Das war's :autsch:

Thx
AXMD