RichInk

  • Thread starter Thread starter Mark Pitman
  • Start date Start date
M

Mark Pitman

I have been looking at the RichInk sample from the OpenNETCF.org forums
http://tinyurl.com/2tzpb and also at this MSDN article:
http://tinyurl.com/37grw

In the MSDN article, they talk about showing a "command bar" on the richink
control using the following code:

SendDlgItemMessage(hInk, IM_SHOWCMDBAR, (WPARAM)m_bCmdBar, 0L);

What exactly is the "command bar"? I tried adding this code into the sample
code from OpenNETCF and it didn't do anything. I am hoping that the command
bar is the toolbar that shows up in Pocket Word that allows simple
formatting like bold and bulleting. Does anyone know much about it?

Mark
http://markyologist.com
 
The comment in Inkx.h says
//---------------------------------------------------------
// IM_SHOWCMDBAR
//
// NOTE: THIS MESSAGE IS NO LONGER SUPPORTED.
//
// Use APIs in RichInk.h to implement a command bar UI.
//---------------------------------------------------------

Basically, you will need to build your own toolbar and use EM_XXX messages
to implement formatting
 
Back
Top