Is there a way to create a custom title bar?

Hi,

I don’t want to use the Windows 10’s title bar, I’d like to create my own title bar.

I should able to drag the window when clicking and dragging on this title bar, and there should be a “close” button on it.

Has anyone done something like this?

Best Regards

···

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/ab605aac-b816-4d51-9427-88a68a80ee5f%40googlegroups.com.

You can do all of the drawing yourself by handling the wx.EVT_NC_PAINT event. “NC” means “non-client” area, which is all the parts of your window that the system usually draws.

···

On Aug 1, 2019, at 2:57 PM, steve <oslocourse@gmail.com> wrote:

I don't want to use the Windows 10's title bar, I'd like to create my own title bar.

I should able to drag the window when clicking and dragging on this title bar, and there should be a "close" button on it.

Has anyone done something like this?


Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/CC43D9C0-5605-4F36-8E0C-AF6972DF927D%40probo.com.

Hello Steve,

you can look at this link :
https://wiki.wxpython.org/Customized%20frame%20%28Phoenix%29#preview

Best Regards,
ZigZag