Parts of statusbar disappearing with IE BHO
Posted
by Jake Resier
on Stack Overflow
See other posts from Stack Overflow
or by Jake Resier
Published on 2010-04-19T19:36:43Z
Indexed on
2010/04/27
3:13 UTC
Read the original article
Hit count: 421
I have a C# IE BHO in use for an internal company app that is adds a pane to the statusbar with SB_SETPARTS
(it mitm's the SETPARTS call and inserts an element into the array) and then draws the controls by moving them from a hidden (in-process) form with SetParent()
This technique works well but it causes other parts of the statusbar to appear briefly and then disappear. Affected parts seem to be all of the panes that don't have their own hWnd, eg the "Internet | Protected Mode" and icon, and some of those icons that appear in the six panes immediately to the left.
Does anyone know what is causing this? I suspect that either certain messages aren't getting to the statusbar32 control to draw the stuff, or my WindowsForms10 additions are sending out extraneous messages.
Everything appears fine for about a second, and then the other parts just disappear.
© Stack Overflow or respective owner