Solved

SystemParametersInfo and SPI_SETMENUSHOWDELAY

Posted on 2000-04-14
4
323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
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…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

626 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