Autor Beitrag
Rool
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 211



BeitragVerfasst: Sa 13.09.03 22:19 
wie reagiere ich darauf, wenn der user doppelt auf die caption in meiner titelleiste klickt (also normalerweise das fenster maximiert, ich habe aber ein nicht resizables fenster!)

_________________
MFG Rool
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 14.09.03 05:25 
versuch das mal:
PSDK hat folgendes geschrieben:

The WM_NCLBUTTONDBLCLK message is posted when the user double-clicks the left mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted.
Rool Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 211



BeitragVerfasst: So 14.09.03 12:11 
Titel: jo
THX!! funktioniert zwar auch am rand, aber das kan ich ja herausfinden!

_________________
MFG Rool
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 14.09.03 13:12 
Jupp, der gehört ja auch zur NonClient-Area.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 14.09.03 13:27 
In wParam hast du ja den Wert von WM_NCHITTEST der angibt wo sich der Cursor befindent... für die Titelleiste gibts da HTCAPTION...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mo 15.09.03 10:18 
@Roll: Wäre schön wenn du uns den Code zeigst wie du es gelöst hast :-D

Gruß
Tino