Link to home
Start Free TrialLog in
Avatar of MeMnOcH
MeMnOcH

asked on

SystemParametersInfo and SPI_SETMENUSHOWDELAY

I am trying to use SystemParametersInfo() with SPI_SETMENUSHOWDELAY as the first parameter but it will not compile. I am using Visual C++ 6 with SP3 and I have Platform SDK installed. My OS is NT4 with SP5.
According to the documentation SPI_SETMENUSHOWDELAY should be defined in Winuser.h which it isn't on my computer. Does anyone know why and what value it is defined to.

thanks
Avatar of KangaRoo
KangaRoo

It isn't with mine either....
I´m not sure of this, but I´ve been searching and SPI_SETMENUSHOWDELAY it´s not defined in VC++ environment.
I´ve been searching for this constant in Internet, and I think that you can try with:
#define SPI_SETMENUSHOWDELAY 107

I´ve found this value in:
http://vbaccelerator.com/tips/vba0037.htm

I hope that this is usefull for you...
Avatar of MeMnOcH

ASKER

YES, it works....
If you post it as an answer I will give you the points.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of pepenieto
pepenieto

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial