Solved

SystemParametersInfo and SPI_SETMENUSHOWDELAY

Posted on 2000-04-14
4
314 Views
Last Modified: 2010-08-05
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
0
Comment
Question by:MeMnOcH
  • 2
4 Comments
 
LVL 7

Expert Comment

by:KangaRoo
ID: 2715121
It isn't with mine either....
0
 
LVL 1

Expert Comment

by:pepenieto
ID: 2715186
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...
0
 
LVL 1

Author Comment

by:MeMnOcH
ID: 2715201
YES, it works....
If you post it as an answer I will give you the points.

Thank you.
0
 
LVL 1

Accepted Solution

by:
pepenieto earned 100 total points
ID: 2715208
#define SPI_SETMENUSHOWDELAY 107
It´s usefull for you !!!

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now