Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to minimize window and set low priority through API?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00527416
Message ID:
00527477
Views:
42
This message has been marked as a message which has helped to the initial question of the thread.
>I found out that to set priority to low I can use SetThreadPriority() API function with THREAD_PRIORITY_LOWEST constant but I can't find that constant value and can't find the .H file to see how it is declared.

It's defined in WINBASE.H as THREAD_BASE_PRIORITY_MIN, which is subsequently defined in WINNT.H:
#define THREAD_BASE_PRIORITY_MIN    -2  // minimum thread base priority boost
Mike Stewart
Previous
Reply
Map
View

Click here to load this message in the networking platform