estsai@sunc2.cs.uiuc.edu (Earl E. Tsai) (06/21/91)
I need a help about the WM_PARENTNOTIFY message. I create a pushbutton using CreateWindow and try to popup a menu when right mouse button is pressed. SDK manual says WM_PARENTNOTIFY will give the mouse status in wParam and the child handle and ID in lParam. However, it does not work. The code view tells different value between CreateWindow and WM_PARENTNOTIFY. Why ? Thanks Earl Tsai estsai@cs.uiuc.edu