Staz Software
HomeFutureBasicSharewareOrderContact

Tech Notes

Appearance Pop-Up Menu Droppings

There are a few things that your mother, now a tech at Apple, never told you...

  • She never mentioned that you would have to reset the ControlMax if you changed the number of items in a pop-up menu handled by a control.
  • She never told you that Appearance pop-ups would leave little droppings in the window the first time that you clicked them.
  • And she never, ever told you that if you fooled around with those girls from the wrong side of the tracks you might catch something that you couldn't wash off.

    I can't help with the washing part, but I'm happy to offer a leg up on the window dropppings. Herein find a simple routine that will fixeth (I'm working on my culture) your Appearance poppers. Just give it a call after you build the button.

    /*
     when an appearance pop-up menu pops, then goes away,
     it leaves trash in the window. this routine makes the
     menu recalc itself so that there are no window droppings.
    
     it's stupid, but it works
    */
    
    local fn fixAppearancePopUpBug(buttonID as long)
     dim mH as handle
     mH = button ( buttonID ,  _FBgetControlMenuHandle )
     InsertMenuItem ( mH , " " , 0 )
     DeleteMenuItem ( mH , 1 )
    end fn
    

  • FutureBASIC

    Demo

    Order

    Tour

    Tech Notes

    FAQ

    Sample Code

    Web Sites

    Mailing List

    System
    Requirements

    blank