I'm tracking a menu using WM_RBUTTONDOWN but the message doesn't get processed. I've tryed to insert the code both in the WndProc and the MdiProc but nothing happens. Does anyone know why the sample code? ty
sample code: .elseif uMsg==WM_NCRBUTTONDOWN
mov eax,lParam
mov ebx,eax
shr ebx,16
movzx ebx,bx
movzx eax,ax
invoke TrackPopupMenu,hMenuMdiEdit,TPM_CENTERALIGN or TPM_RIGHTBUTTON,eax,ebx,0,hWnd,NULL
.
It processes WM_NCBUTTONDOWN, it's just the WM_RBUTTONDOWN that doesn't get processed.
Problem solved. I forgot i subclassed the edit controls.