I tried to draw an image under WM_PAINT of callback of a window.
But, I found the image was just beneath the window, is this as designed?
The version of emWin library I used is 5.30.
I created the window using the code as follows:
And the image was drawed under WM_PAINT of callback:
One more thing, when I created a dialog as a child of the window above, it was invisible;
Only when I remove the flag WM_CF_HASTRANS, then it was visible, why?
Thanks,
Kenmux
But, I found the image was just beneath the window, is this as designed?
The version of emWin library I used is 5.30.
I created the window using the code as follows:
And the image was drawed under WM_PAINT of callback:
One more thing, when I created a dialog as a child of the window above, it was invisible;
Only when I remove the flag WM_CF_HASTRANS, then it was visible, why?
Thanks,
Kenmux