I want to use Popup menu without animation. In MSDN (January 1999) I'm find:
Windows 98, Windows NT 5.0 and later: Use one of the following flags to modify the animation of a menu. Value Meaning
TPM_HORNEGANIMATION Animates the menu from left to right.
TPM_HORPOSANIMATION Animates the menu from right to left.
TPM_NOANIMATION Displays menu without animation.
TPM_VERNEGANIMATION Animates the menu from bottom to top.
TPM_VERPOSANIMATION Animates the menu from top to bottom.
I want to use TMP_NOANIMATION, but I can't find where this constant defined (There is no *.h file where this constant defined).
Q: How can I get OS version and disable animation (For W98 or NT50)?
I'm using VC60 with SP3.