If you have a cool piece of software to share, but you are not hosting it officially yet, please dump it in here. If you have code snippets that are useful, please donate!
Infinity_77 wrote:
Uhm, I may seem dumb, but in which respects the 4 pointing arrows are superior to XOR rectangles? If it is a purely aesthetic modification,
Andrea.
It isn't a purely cosmetic modification, it's actually about having exact control of where you want to place the panel.
Play a little with this demonstration: http://snakesoft.net/wxifm/demo.zip
and you'll see why it's better, you know exactly where it will be placed.
T-Rex wrote:
I think some combination of this 2 ways could be a good solution.
Yes, I think the same. Indeed this is the way VS2005 does it.
I just realized what i did ... I did fixed the code, but I am still compiling it under win XP ...
So the demo still includes the code that works only on win xp so it obviously made no different (I am using #ifdef in the code) so to see the change, it must be compiled under win2k.
Or to close the problem code with #if 0 and compile it under under xp:
One comment on compiling for Win2K or not, I really would advice you to determine this flag at run time to exclude it for Win2K or not, as users who run your app should not have to choose between XP and 2K for your menu style. I think others using your wxFlatMenuBar are also not really thrilled if they have to compile it for multiple platforms.
I think wxPlatformInfo can help you there it should be a new class from Franchesco in wx2.7.0 ...