| ¥ 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')
|
|