Retrieving the text from an edit box
I'm trying to use WM_GETTEXT to retrieve the contents of an edit box, "EditTitle".
The syntax for WM_GETTEXT is as follows:
, where cchTextMax is the amount of characters to be copied, and lpszText is a 'Long pointer to the buffer that is to receive the text.' The problem is that I am not sure how to use this message inside a function call, i.e.
WM_GETTEXT wParam = (WPARAM) cchTextMax;
lParam = (LPARAM) lpszText;
Please can someone who has a lot more programming experience than I help me out?
~ Chris Howarth