0

I'm using wxPython. I want to detect mouse events on the caption bar. I noticed that there is a event called WM_NCMOUSEHOVER under windows. But I cannot find corresponding event in wxPython. Here is the question, how can I capture those non-client events with wxPython?

Fang-Pen Lin
  • 13,420
  • 15
  • 66
  • 96

1 Answers1

0

I can't find a way to get mouse events from the frame title bar. The closest I got was EVT_MOTION. However, you might be able to use a wx.Timer in combination with wx.GetMousePosition(). See Capturing mouse events outside wx.Frame in Python for more info.

Community
  • 1
  • 1
Mike Driscoll
  • 32,629
  • 8
  • 45
  • 88