[£‘O‚̃XƒŒƒbƒh]

[32699] About HTML mode while composing email@
¤ 2006/8/1 (‰Î) 17:52:09 ¤ Philp
59.107.16.56 / Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; (R1 1.5); .NET CLR 1.1.4322)
Hi there,
  How can I change the edit mode from text to HTML while
composing email with program rather than invoke the MENU
with mouse? I didn't find any API or shortcut command to
do that? Any idea? Thanks

[32704] Re: About HTML mode while composing email@
¤ 2006/8/2 (…) 15:22:13 ¤ Shusaku
ntkngw102018.kngw.nt.ftth.ppp.infoweb.ne.jp / INCM1.23a
¥ Philp‚³‚ñ
>Hi there,
>  How can I change the edit mode from text to HTML while
>composing email with program rather than invoke the MENU
>with mouse? I didn't find any API or shortcut command to
>do that? Any idea? Thanks


Helpful hint is written in PlugInSDK.txt file.
CBeckyAPI::Command's description said:

> Executes Becky!'s command.
> Valid command names are found in the "Shortcut Keys" tab of
> Becky!'s "General Settings".
> e.g.
>     bka.Command(NULL, "SendReceive");
>
> Not all functions can be called with this command. If you can not find
> functions you want to call, retrieve the command IDs directly from
> Becky!'s executable using SPY or a resource editor, and use
> PostMessage(WM_COMMAND, nID, 0)


So, the answer is:

PostMessage(hWnd, WM_COMMAND, nID, 0)
 - hWnd : window handle of a compose window.
 - nID : 32839 (menu ID of 'Write HTML message')

[¥ŽŸ‚̃XƒŒƒbƒh]
INCM/CMT
Cyclamen v3.84