mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 05:19:25 +02:00
message debug improvements
git-svn-id: trunk@7807 -
This commit is contained in:
parent
780272cf5f
commit
c22f97b8b0
@ -830,7 +830,7 @@ Begin
|
||||
WindowInfo := GetWindowInfo(PDrawItemStruct(LParam)^.hwndItem);
|
||||
if WindowInfo^.WinControl<>nil then
|
||||
lWinControl := WindowInfo^.WinControl;
|
||||
{$IFDEF MSG_DEBUG|}
|
||||
{$IFDEF MSG_DEBUG}
|
||||
with PDrawItemStruct(LParam)^ do
|
||||
writeln(format('Received WM_DRAWITEM type %d handle %x', [ctlType, hwndItem]));
|
||||
{$ENDIF}
|
||||
|
@ -340,7 +340,7 @@ Begin
|
||||
$0400: Result := 'WM_USER';
|
||||
$8000: Result := 'WM_APP';
|
||||
Else
|
||||
Result := 'Unknown WM_Message = $' + IntToHex(WM_Message, 4);
|
||||
Result := 'Unknown(' + IntToStr(WM_Message) + ')';
|
||||
End; {Case}
|
||||
End;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user