Using OpenGl, I've created my own edit box. However, it would be nice if the user could paste into the edit box. I'll be fine at setting up an CTRL + V event the problem will be getting a char array from the pasteboard. I've looked around and the internet a bit and it wasn't as simple as I'd thought.
The clipboard can store data in a number of formats, you'll probably be interested initially in CF_TEXT. Tou can call EnumClipboardFormats() to get the formats that are in the clipboard. when you request the data with GetClipboardData(), you need to specify a format that's there. So just ignore it if CF_TEXT isn't there.