Is there a way to create a custom title bar?

1,282 views
Skip to first unread message

steve

unread,
Aug 1, 2019, 5:57:01 PM8/1/19
to wxPython-users
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

Tim Roberts

unread,
Aug 2, 2019, 2:20:53 AM8/2/19
to 'Khanh D Dang' via wxPython-users
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.

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

Reply all
Reply to author
Forward
0 new messages