Page 1 of 1

WindowVectorOutput; #WM_PAINT; custom border;

Posted: Wed Oct 21, 2015 10:22 am
by HanPBF
Hello!

I use the new vector drawing to draw a custom border around the window.

Furthermore, I use the window callback to enable
SendMessage_(WindowID(PB), #WM_NCLBUTTONDOWN, #HTRIGHT, 0)
for resizing window.

When I draw border after openwindow, nothing is shown due to window refresh.

When I catch #WM_PAINT and draw border, it is redrawn during resizing of window and covers the whole area...

Any idea, how i can draw the border and use #WM-messages?
ContainerGadget does not work as it can not be truly transparent...

Thanks a lot,
regards