What does the & do in this case:
CONTROL "&Enter data", -1, "BUTTON" blah blah...
I don't notice any difference when I use and don't use it. Thanks.
What does the & do in this case:
CONTROL "&Enter data", -1, "BUTTON" blah blah...
I don't notice any difference when I use and don't use it. Thanks.
& is used in menu resources to underline the letter immediately after the symbol so that the user can select the option by typing that letter instead of the amazingly strenuous task of moving the mouse an inch or so.
"Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C
Oh cool, thanks
it also makes it possible to push a button by pressing Alt+*. where * is the letter thats underlined.
for example: if your button had text like this...
WayTooHigh
pressing Alt+w would push the button.
Sometimes, the farthest point from the center is the center itself.
Your life is your canvas, it's only as beautiful as you paint it.