Solved

SystemParametersInfo and SPI_SETMENUSHOWDELAY

Posted on 2000-04-14
4
316 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

919 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

14 Experts available now in Live!

Get 1:1 Help Now