Skip to main content
Ctrl+K

jiangsheng's docs

  • Homepage
  • Games
  • Blogs
  • Grandma's handbook
  • Homepage
  • Games
  • Blogs
  • Grandma's handbook

Indices

  • General Index
  • Posts tagged RichEdit

Posts tagged RichEdit

自定义在RichEdit中插入对象的图标

  • 04 March 2004
  • Sheng Jiang
  • Win32
  • RichEdit

方法基本同Knowledge Base文章Q220844 HOWTO: Insert a Bitmap Into an RTF Document Using the RichEdit Control (https://jeffpar.github.io/kbarchive/kb/220/Q220844/)

只是在最后插入之前调用一下IOleCache::SetData,用一个HGLOBAL作为参数,HGLOBAL里面的数据是一个METAFILEPICT结构,包含自己提供的图片

Read more ...


© Copyright 2018-, Sheng Jiang.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.17.1.