IMHO, it would be extremely difficult, to hack. Without access to the actual data used to paint the window, intercepting the WM_PAINT message is useless. Then there's the possibility that some ill behaved programs paint outside the WM_PAINT. Windoze's very own edit control is a nice example of this. I concede that it would be possible to hack MPLAB to discover where and how the data used in the register window is stored ( many with talent beyond me have done that very thing to Windoze itself ), however, those with this much talent and time are probably writing their own simulator . BTW, I wouldn't think that individual messages are sent when a register is changed. More likely register data is stored in some type of structure and when that structure is changed a call to InvalidateRect(..) is made to force a repaint. If individual messages were used, it might make it easier to intercept and maintain the status of registers outside of MPLAB. On Saturday, August 07, 1999 12:35 AM, Mark Willis [SMTP:mwillis@NWLINK.COM] wrote: > Everything's done with messages in Windows, basically; You send a > message to the File Register Window, telling it to change subwindow RA > to 0x49 (or whatever), IIRC you can intercept those messages, but it's > hard to do so without being part of that application (I'd have to go > look to be sure, it'd be easiest if Microchip did this as this sort of > thing's always simple with source code access & a *bear* without that.) > > For Microchip to create a customizable LED-ized Register window would be > not too horrible, I'd think, and hiding windows is certainly simple > enough for those who don't use that window Not that hard to wrap > our brains around reading hex, either, though. > > Mark > > Jim Hartmann wrote: > > > > Any windows programmers out there know if it is possible to > > capture window repaint data? If it is then repaints to the > > File Register window or Special Function Register could be > > intercepted and made to do something useful like light up > > simulated LED's or what have you. > > > > -Jim