Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I'm not a Wx user myself, and I find the docs on CPAN pretty sparse... but I wonder if it is possible to use owner-drawn menus. All I could find for docs about those is for wxPython [wxpython.org]. That shows that Wx knows the concept at least, on Windows.

    You don't really need the absolute position on the screen, all you need is a drawing area, AKA a canvas. That needn't have a known absolute position on the screen, as long as the underlying GUI library knows where to draw it.

    • Owner drawn is probably (I've looked at it, but can't say I grasp all of it yet) still the same as drawing your own menus. Which automatically means sacrificing the native OS look of your menus.

      What I need is a menu, and a menuitem that "owns" its position and size. The purpose of it all is to be able to draw a box around it on the screen to indicate what you're about to select (for the people who can't use a mouse, but use switches).