In PBWin 8.03 and previous versions of PBWin 8, you could subclass the graphic window and capture these messages. In PBWin 8.04, you must subclass the static control on the graphic window to capture these messages. A graphic window is a dialog box with one static control on it, the static control is what you actually do the drawing on. All you need to do is get the handle of this static control with hStatic = GetWindow(hGraphicWindow, %GW_CHILD) and subclass hStatic instead of hGraphicWindow. I posted an example of how to subclass a graphic window and a graphic control to capture mouse and keyboard messages at http://www.powerbasic.com/support/pb...ad.php?t=35337.