
Nat Brown @[email protected]
15.8K posts

Nat Brown @[email protected]
@natbro
now: apple, formerly:VR @ Valve , past:@TheTileGame, rel8tion,facebook; music & mobile @myspace; cto, @ilike; startups; microsoft:xbox/activex/clr/com/ole/mspub








@EricLengyel niiiice. that's an olde timey PPT issue, can't believe it's still happening. iirc you just need to respond positively to the first IDataObject::DAdvise for CF_METAFILEPICT and it should also ::DAdvixe for CF_ENHMETAFILE.









After a week buried in COM code, I finally have full OLE integration between my standalone C++ application and Microsoft Word. • I can insert an object from inside Word to automatically launch my app and start editing. • I can read the current style (font size, etc.) at the insertion point from my app. • I can place vector graphics in a Word document as an inline shape from my app. • I can adjust the vertical position of the graphics from my app to align the baselines correctly. • I can store arbitrary data along with the graphics to maintain editability. • Double-clicking on an existing object in Word automatically reopens my app for editing.




