Autor Beitrag
Akut-Programming
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 69

WinXP, Win2000
Delphi 7 Enterprise, Delphi 5 Prof.
BeitragVerfasst: Fr 22.08.03 10:15 
Ist es möglich für die Titelleiste seiner Anwendung einen zusätzlichen Button zuerstellen und diesen dort anzeigen zulassen? Ich frage, weil ich in meinem Prog einen extra Button für "minimieren in tray" haben will. Dieser sollte aber in der Titelleiste stehen. :lol:

_________________
Gruß,
Akut - Programming
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 22.08.03 11:07 
Auf Suche in: Delphi-Forum, Delphi-Library WM_NCPAINT reagieren, mit Suche in: Delphi-Forum, Delphi-Library GETWINDOWDC ein DC-Handle für das gesamte Fenster (inkl. NonClient-Bereich) holen und deinen Button reinpinseln. Dann nur noch auf die Messages Suche in: Delphi-Forum, Delphi-Library WM_NCLBUTTONDOWN und Suche in: Delphi-Forum, Delphi-Library WM_NCLBUTTONUP (entspechend der Mausposition) reagieren (-> wurde dein Button geklickt?)

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!