Search found 5 matches

by IgglePiggle
Tue Sep 01, 2009 4:06 pm
Forum: General Discussion
Topic: Anti-aliased lines / shapes
Replies: 6
Views: 1756

Anti-aliased lines / shapes

Is there any way in PB to generate anti-aliased lines / shapes?
by IgglePiggle
Sun Jul 06, 2008 9:44 am
Forum: Coding Questions
Topic: Is gadget hidden or not?
Replies: 13
Views: 1930

Thanks for the feedback guys :)

is anyone who's getting 1 then 0 on Vista?
by IgglePiggle
Sun Jul 06, 2008 9:33 am
Forum: Coding Questions
Topic: Is gadget hidden or not?
Replies: 13
Views: 1930

@IgglePiggle: Your second bit of code doesn't show a failing snippet...

OK so the debug window is not supposed to show a 0 then a 1? (in my example)

am I misunderstanding what values should be returned?

If you guys are saying it works, presumably you mean you are getting 0 then 1 in the above ...
by IgglePiggle
Sun Jul 06, 2008 7:42 am
Forum: Coding Questions
Topic: Is gadget hidden or not?
Replies: 13
Views: 1930

Thanks for the reply...

I still can't get this working, I must be doing something wrong.

cg is set to a valid gadget #

HideGadget(cg,0)
Debug "BEFORE:"+Str(IsWindowVisible_(GadgetID(cg)))
HideGadget(cg,1)
Debug "AFTER"+Str(IsWindowVisible_(GadgetID(cg)))

gives me:

BEFORE: 0
AFTER: 0
by IgglePiggle
Sun Jul 06, 2008 7:02 am
Forum: Coding Questions
Topic: Is gadget hidden or not?
Replies: 13
Views: 1930

Is gadget hidden or not?

Can anyone tell me how to detect in my code if a gadget has been hidden with HideGadget ?

I've tried this:

Code: Select all

IsWindowVisible_(GadgetID(#YourGadget))
(recommended somewhere else on the forum) but no luck so far!