DTM_ADDTEXTW

Windows Mobile 6.5
4/8/2010

This message is sent by an application to add Unicode text to the HTML control.

Bb415487.note(en-us,MSDN.10).gifNote:
It is recommended that DTM_ENDOFSOURCE be used to end this message.


DTM_ADDTEXTW
  wParam = (WPARAM)(BOOL) bPlainText;
  lParam = (LPARAM)(LPWSTR) szText;

bPlainText

A Boolean that indicates the format of the text to be added. If set to TRUE, the text is treated as plain text. If set to FALSE, the text is treated as HTML-Formatted text.

szText

A null-terminated wide character text string to be added to the HTML control

This is the Unicode version of DTM_ADDTEXT. After the Unicode text is added to the HTML control, the text parameters in the notification messages will be Unicode.

The following example shows how you might use this message:

SendMessage(hWndCtrl, DTM_ADDTEXTW, FALSE, 
    (LPARAM)L"<bgsound src=\"file:\\\\windows\\default.wav\"loop=\"15\">);

Headerhtmlctrl.h
Libraryhtmlctrl.lib
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions

Show: