Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a screen saver
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093980
Message ID:
00094671
Views:
40
>>Good news 2 - The WNDCLASS structure I mentioned earlier can be examined to see if a running application is a screen saver. The lpszClassName member of the structure will contain "WindowsScreenSaverClass", however, I don't see an index that will allow GetClassLong() to return that member.
>
>
>BTW, what are you using to get and examine the WNDCLASS struct?

You mean the strings returned? What I do is get a memory address by allocating 4K on the heap, then I use the string copy function to move it first to the heap, then to mine own string. Works well, I picked up from a FoxPro Advisor article by Gary DeWitt.

If you want to know details, let's start a new thread. This one's long enough ;-)
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform