I have been adding a menustrip to an application I am making in Visual Studio Express C++ (2012). I am having trouble copying from the selected textbox. I know how to use the copy" method to copy all of the text in a textbox, but I want to specifically copy the one the user has selected. I tried casting the GetActiveWindow pointer to the textbox handle and copying that, but I can't. How should I go about doing this?