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.Code:WM_GETTEXT wParam = (WPARAM) cchTextMax; lParam = (LPARAM) lpszText;
Please can someone who has a lot more programming experience than I help me out?Code:SaveTitle(WM_GETTEXT etc)
~ Chris Howarth