Autor Beitrag
Jacer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 105

Windows 7, Vista, Ubuntu
HTML,CSS,PHP,Delphi 7
BeitragVerfasst: So 11.02.07 00:38 
Hallo,
ich schreibe zur Zeit eine Art Verwaltungsprogramm für Mitarbeiter,Aufträge etc.
So nun dachte ich mir eine Art Desktop-Applet zu integrieren, dass (möglichst ein wenig Transparent) laufende Aufträge stets auf dem Desktop anzeigt. Dabei würde es sich um Daten einer Datenbank handeln (Tabelle: Paradox 7), die ausgelesen wird um die nötigen Daten zu erfassen.

Ist so etwas in Delphi überhaupt realisierbar?

_________________
A look in the eyes often says more than a hundred words could ever express.
ultra2k
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

XP x64
D7 Enterprise
BeitragVerfasst: So 11.02.07 01:43 
Jo das sollte eigentlich alles gehen würd ich ma behaupten ^^

Transparenz (ab Win2k und Delphi 6 oder so ka :P):
ausblenden Delphi-Quelltext
1:
2:
AlphaBlend := True;
AlphaBlendValue := 200; {0..255}

Und entweder so:
ausblenden Delphi-Quelltext
1:
BorderStyle := bsNone;					

Oder so, dann is das Fenster nich so "platt":
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
var
  Style: Longint;

begin
  if BorderStyle = bsNone then Exit;
  Style := GetWindowLong(Handle, GWL_STYLE);
  if (Style and WS_CAPTION) = WS_CAPTION then
  begin
    case BorderStyle of
      bsSingle,
      bsSizeable: SetWindowLong(Handle, GWL_STYLE, Style and
          (not (WS_CAPTION)) or WS_BORDER);
      bsDialog: SetWindowLong(Handle, GWL_STYLE, Style and
          (not (WS_CAPTION)) or DS_MODALFRAME or WS_DLGFRAME);
    end;
    Height := Height - GetSystemMetrics(SM_CYCAPTION);
    Refresh;
  end;
end;


Und von Paradox 7 hab ich kein plan, aber das geht sicher ;)

_________________
...wenn NULL besonders groß ist, isses schon fast wie ein bisschen EINS!
Jacer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 105

Windows 7, Vista, Ubuntu
HTML,CSS,PHP,Delphi 7
BeitragVerfasst: So 11.02.07 09:21 
Naja also ich habe dann vor dass das Hauptprogramm als TrayIcon in der Taskleiste liegt. Das ist ja kein Problem. Dieses Dektop Applet soll nur über das Hauptprogramm zu starten bzw beenden sein. Das heißt das Fenster auf dem Desktop darf nicht verschiebbar oder sonstiges sein es muss fest in den Desktop integriert werden.

_________________
A look in the eyes often says more than a hundred words could ever express.
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: So 11.02.07 11:55 
d.H. dein Programm soll eine Art Aktiv-Desktop sein ... ich hab sowas zwar schonmal gesehen, aber ob das überhaupt so mit einer Exe-Datei realisierbar ist weis ich nicht!

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
ultra2k
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

XP x64
D7 Enterprise
BeitragVerfasst: Sa 17.02.07 21:07 
Gerade drüber gestolpert, das interessiert dich sicher ;)

www.delphi-forum.de/viewtopic.php?t=69674

_________________
...wenn NULL besonders groß ist, isses schon fast wie ein bisschen EINS!