Suppressing Win98 animation for popup menus.

git-svn-id: svn://10.0.0.236/trunk@37667 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com 1999-07-01 07:24:01 +00:00
parent 9596f286ef
commit f04cb93173

View File

@ -419,8 +419,10 @@ nsEventStatus nsContextMenu::MenuSelected(const nsMenuEvent & aMenuEvent)
Ok, this animation SHOULD be used. It is different
from the ballooning outward animation used by default.
Causes NT to screw up.
XXX Need to query for the OS (95 vs. 98 vs. NT) and only enable for 98
- Dave
*/
#define TPM_VERPOSANIMATION 0x1000L
#define TPM_VERNEGANIMATION 0x2000L
#define TPM_HORPOSANIMATION 0x0800L
@ -468,7 +470,7 @@ nsEventStatus nsContextMenu::MenuSelected(const nsMenuEvent & aMenuEvent)
alignFlags |= TPM_HORPOSANIMATION;
}
}
*/
PRInt32 identifier = ::TrackPopupMenu(
mMenu,
alignFlags,