Give your ButtonGadgets some FLAIR! Code included [WINDOWS]

Share your advanced PureBasic knowledge/code with the community.
JustinJack
User
User
Posts: 89
Joined: Thu Feb 04, 2010 7:34 am
Location: Decatur, TX
Contact:

Re: Give your ButtonGadgets some FLAIR! Code included [WINDO

Post by JustinJack »

Ok! I Think I got it. I am now unable, no matter how slowly I move my mouse in and out of the buttons RECT to cause it to paint wrong.

@Demivec, since you seem to have the same propensity as my boss to find the perfect way to make some code jack-up, please see if that solved the issue. I know I still have the issue of the Gadget's parent's bkgr color, though, but the white corners should be gone in the demo program, too.
User avatar
Demivec
Addict
Addict
Posts: 4270
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Give your ButtonGadgets some FLAIR! Code included [WINDO

Post by Demivec »

JustinJack wrote:@Demivec, since you seem to have the same propensity as my boss to find the perfect way to make some code jack-up, please see if that solved the issue. I know I still have the issue of the Gadget's parent's bkgr color, though, but the white corners should be gone in the demo program, too.
@Justin Jack: Yes, I don't mind flexing my propensity as occasion demands. :)

Things seem to be in order now, no more 'squirrley-ness'. The white corners are gone as well.

Here's the former and the new snapshot side by side:
Image Image
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: Give your ButtonGadgets some FLAIR! Code included [WINDO

Post by jassing »

got a request for some more eye-candy buttons than standard windows button... this really made it easy and great results, however, under some situations, which I can't track down, the buttons get the jelly blanked out of them in the text area:
Image
any ideas?
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Give your ButtonGadgets some FLAIR! Code included [WINDO

Post by electrochrisso »

Could be text transparent background switch getting messed up somewhere along the line.
PureBasic! Purely the best 8)
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: Give your ButtonGadgets some FLAIR! Code included [WINDO

Post by jassing »

electrochrisso wrote:Could be text transparent background switch getting messed up somewhere along the line.

thanks, that gives me something to focus on...
Little John
Addict
Addict
Posts: 4791
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Give your ButtonGadgets some FLAIR! Code included [WINDO

Post by Little John »

jassing wrote:got a request for some more eye-candy buttons than standard windows button
You might also want to take a look at Kukulkan's owner-drawn buttons.
Post Reply