WindowVectorOutput; #WM_PAINT; custom border;

Windows specific forum
HanPBF
Enthusiast
Enthusiast
Posts: 570
Joined: Fri Feb 19, 2010 3:42 am

WindowVectorOutput; #WM_PAINT; custom border;

Post 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