0

I have already OLE Embedded object Excel Chart. And, when I create this object, i have some problem in project, when I'm resizing window. Using Spy++ I see two process: Excel 7 and Excel 9. Excel 9 contain "trash" in right part, and when I resizing window I can see undefined behaviour. On the following picture you can see a border, which I want to hide. enter image description here

How I can hide this border, if I known handle of window?

Clifford
  • 88,407
  • 13
  • 85
  • 165
G-71
  • 3,626
  • 12
  • 45
  • 69

1 Answers1

1

You might try using SetWindowLong(), but I don't know if the effect is going to be what you are looking for.

SetWindowLong(win_handle, GWL_STYLE, GetWindowLong(win_handle, GWL_EXSTYLE) | WS_EX_TOPMOST);
ShowWindow(win_handle, SW_SHOW);
karlphillip
  • 92,053
  • 36
  • 243
  • 426