Autor Beitrag
maze2k
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 252

WIN 95, WIN NT 4.0, WIN 98, WIN 98SE, WIN 2000, RedHat Linux 7.3, Mandrake Linux 9.2, Knoppix Linux 3.3
D6 Pers
BeitragVerfasst: Do 16.10.03 17:43 
Hi, ich kann eine Form meiner Anwendung dauerhaft mit folgendem Code in den Vordergrund setzen:

ausblenden Delphi-Quelltext
1:
2:
  ChatForm.FormStyle:=fsStayOnTop;
  ChatForm.BringToFront;


Der Code steht im OnIdle-Event der Application...

Ich habe jetzt auf einer Form einen TWebBrowser und sobald ich diesen Code dem OnIdle-Event zuweise (ich hab zwei prozeduren, entweder im vordergrund oder nicht... je nachdem was gewählt ist hat das OnIdle der Application eine andere Prozedur), dann erscheint der Browser nur noch weiss und läd auch nichts mehr...

_________________
Wer das Konzept der Unendlichkeit verstehen will, muss nur das Ausmaß menschlicher Dummheit betrachten. (Voltaire)
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Do 16.10.03 19:28 
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
with Self do 
  SetWindowPos(Handle, 
               HWND_TOPMOST, 
               Left,  
               Top,   
               Width,
               Height,
              
               SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSIZE);
maze2k Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 252

WIN 95, WIN NT 4.0, WIN 98, WIN 98SE, WIN 2000, RedHat Linux 7.3, Mandrake Linux 9.2, Knoppix Linux 3.3
D6 Pers
BeitragVerfasst: Do 16.10.03 19:47 
Ahja, wie wäre es mit einer kleinen Erklärung dazu?
Und was ich damit machen soll...

Kann mir's zwar denken...trotzdem... :)

_________________
Wer das Konzept der Unendlichkeit verstehen will, muss nur das Ausmaß menschlicher Dummheit betrachten. (Voltaire)
maze2k Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 252

WIN 95, WIN NT 4.0, WIN 98, WIN 98SE, WIN 2000, RedHat Linux 7.3, Mandrake Linux 9.2, Knoppix Linux 3.3
D6 Pers
BeitragVerfasst: Do 16.10.03 20:06 
Hm nochwas... wie mach ich das wieder rückgängig?
Das Gegenteil von HWND_TOPMOST ist ???

_________________
Wer das Konzept der Unendlichkeit verstehen will, muss nur das Ausmaß menschlicher Dummheit betrachten. (Voltaire)
maze2k Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 252

WIN 95, WIN NT 4.0, WIN 98, WIN 98SE, WIN 2000, RedHat Linux 7.3, Mandrake Linux 9.2, Knoppix Linux 3.3
D6 Pers
BeitragVerfasst: Do 16.10.03 20:08 
Gut hab es mal ausnahmsweise selbst gefunden *lol* war ja auch net schwer.... HWND_NOTOPMOST *gg*

_________________
Wer das Konzept der Unendlichkeit verstehen will, muss nur das Ausmaß menschlicher Dummheit betrachten. (Voltaire)