SebHoll #1 Yeah, you need to handle the EVENT_GADGETMENU event that is emitted by the text area when a user right clicks, and call PopupWindowMenu( mywindow, menu ) to show the context menu at your mouse position.