Send it as a pointer
SendMessage(GetDlgItem(hdlg, DLG_HELPSIZE), CB_ADDSTRING, 0, LParam
(@MyString));
or
SendMessage(GetDlgItem(hdlg, DLG_HELPSIZE), CB_ADDSTRING, 0,
LongInt(PChar(MyString)));
and to retrieve (if needed)
MyString := PShortString(msg.wparam)^;
>>>> How do I send a string as the lparam in the sendmessage command?
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"