Silly me. All this time I was assuming that ggambett was trying to detect when then ' key was pressed but his app didnâ€™t get notified until the A was pressed. I just re-read is initial message and it seems the exact opposite is going on. The ' key is typing a ' character when it should not. Sorry. I misunderstood. Is handling WM_DEADCHAR message likely to help this? It seems like he wants to ignore it in this case.