Can I possibly get those messages sent by Windows to other windows that are not owned by my application? For example, I wanted to detect if a paint event for that window occurs and act accordingly. For example the window is the handle of the taskbar. Any help would be appreciated.