hook - Which API Microsoft Word (Office 2013) is using the paint the screen -
i have office plug-in (native c++) involving office. 1 of thing i'm doing finding hwnd of main window, , subclass window. on various occasions getdc window, , paint own stuff on top of office document.
i'm using iat hooking (fairly standard) of various windows api.
i've 'decorate' function draw on hdc directly. until office 2010, called method after office handled wm_paint, , after wm_keyup. working fine.
starting office 2013, winword pains client area in times failed track. moreover, cannot find gdi api office using when repainting it's client area. i'm putting hook on drawtext (gdi), or drawstring (gdi+).
as far can tell, winword repaint client area (and hence - delete decoration) without calling getdc, beginpaint, or releasedc!
i'm out of ideas. i'll appreciate idea office use touch screen? i'm setup hook function, and/or windows message - can't find has hooked. other idea (no need complete solution - direction fine). tool can used (e.g. there similar filemon gdi methods?) appreciated.
office 2013 using directwrite, direct2d , dxgi putting ink on screen. that, entirely avoid using gdi, hence getdc/beginpaint/etc. never been called.
see blog:
http://blogs.msdn.com/b/murrays/archive/2012/07/29/office-adopts-new-windows-display-technology.aspx
Comments
Post a Comment