Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Apr : Trapping WM_DRAWITEM in XP
| Subject: | Trapping WM_DRAWITEM in XP |
| Posted by: | "Entrodus" (s..@bottom.of.mail) |
| Date: | 6 Apr 2005 05:38:05 |
I cant seem to find a way to trap the WM_DRAWITEM messages in the icons (minimize, restore, close) of a Maximized MDIChild form.
I tried creating a message procedure, override wndproc and even used Application.OnMessage but still nothing.
I know that this message does happen because i see it by using Microsoft Spy++. I even tried all this in Win2000 where everything works fine.
What i am trying to do is skin theese icons and XP is the only OS that causes me all that trouble.
Any Suggestions?
How come Spy++ traps WM_DRAWITEM and i cant?
Thanks in Advance
Entrodus
BabisimoX(at)reversed.oohay.com