ProcessBook ActiveX Build-mode painting issue

Discussion created by plac88 on Jun 3, 2013
Latest reply on Jun 4, 2013 by plac88





I'm having a problem with the build-mode for my custom processbook activex component.


The component was builded in C++/MFC, and it draws a chart inside the standard Colecontrol::OnPaint(CDC * pdc, ... , ...) method.


The problem is that when PB is switched to build-mode the component got hidden (transparent, but can be selected), while in fact  the chart should stay visible in build-mode.


Tried unsuccessfully to override some messages, but got stucked (not a pro in c++/mfc).


Someone knows a workaround for this?


Thanks in advance.