How can I make a textbox the active control when the user right-clicks over the control? I have a context menu that pops up when the user right-clicks. One of the menu items changes the font in the selected textbox to have a line through it (strikeout). If the user left clicks or tabs to the appropriate textbox and then right clicks it works great. However if the focus is in a different textbox when they right-click the wrong textbox gets the strikethrough. I have captured the click event and I can display a messagebox when the user clicks the right mouse button, but I can't figure out how to select the correct textbox.
Thank you in advance for your help.
Thank you in advance for your help.