Hello all,
After a couple of days of endless recreations of the template, I’m reaching out so somebody can point me in the right direction
I can add my sources later, but essentially I have added in the GDI mGraphics as an unique_ptr, replaced the binding to the D2D render target with
On the DrawThread I’m just trying to use the Clear function to make the gauge red.
It compiled and loads in sim, but it’s just black from the background bitmap.
I just ran out of time to load it in the debugger with some breakpoints so will report back, when I get home in a couple of hours or so.
Thanks!
After a couple of days of endless recreations of the template, I’m reaching out so somebody can point me in the right direction
I can add my sources later, but essentially I have added in the GDI mGraphics as an unique_ptr, replaced the binding to the D2D render target with
C++:
mGraphics.reset(new GDIPlus::Graphics(element->hdc));
On the DrawThread I’m just trying to use the Clear function to make the gauge red.
It compiled and loads in sim, but it’s just black from the background bitmap.
I just ran out of time to load it in the debugger with some breakpoints so will report back, when I get home in a couple of hours or so.
Thanks!



