message debug improvements

git-svn-id: trunk@7807 -
This commit is contained in:
micha 2005-09-23 19:25:51 +00:00
parent 780272cf5f
commit c22f97b8b0
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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;