Autor Beitrag
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: So 02.01.05 18:52 
Hi,
ich bekomm wenn ich diesen Code ausführe eine AV. Egal in welchem Abschnitt der If-Abfrage.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
if Form1.CBStayOnTop.Checked then
    begin
      with Form1 do
        SetWindowPos(Handle,
               HWND_TOPMOST,
               Left,
               Top,
               Width,
               Height,
               SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSIZE);
    end
  else
    begin
      with Form1 do
        SetWindowPos(Handle,
               HWND_BOTTOM,
               Left,
               Top,
               Width,
               Height,
               SWP_SHOWWINDOW);
    end;


mfg matze

_________________
si tacuisses, philosophus mansisses.
matze.de Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: So 02.01.05 18:58 
Hab meinen Fehler gefunden. Er ist in eine Endlosschleife geraten. :oops:

mfg matze

_________________
si tacuisses, philosophus mansisses.