atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Feb 12, 2013 5:01 pm Post subject: |
|
|
| Code: | | SendMessage( hWndOfYourControl, EM_SETCUEBANNER, (WPARAM)FALSE, (LPARAM)pszMessageText ); |
Get the hWnd of your control from either storing it after you create it via CreateWindowEx, or if you are using a dialog window, use GetDlgItem to get it based on it's control id.
Store the text you want as a null terminated Unicode string.
_________________
- Retired. |
|