We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Show Windows Contents While Dragging

bwilhelm
bwilhelm asked
on
Medium Priority
560 Views
Last Modified: 2013-12-03
Is there an Windows API I can use to return the value
of Show Windows Contents While Dragging?
On NT, this option is set by the user via Settings /
Control Panel / Display / Plus! / Visual Settings .
Comment
Watch Question

Commented:
I hope the following helps:
The registry key HKEY_USERS\.Default\Control Panel\desktop\DragFullWindows
contains '1' if enabled, '0' if disabled - if that is what you meant.
(Tested with Win95, but i am quite sure that it's the same with NT)
If you think this has answered your question, feel free to let me know that i should post an
answer :) :) :)

Author

Commented:
Yes, that location in the registry is very helpful.
Now I just need a way to obtain that value programatically.
Can you use GetProfileInt() somehow to retrieve the value?

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
BOOL SystemParametersInfo(  UINT uiAction, // system parameter to query or set
  UINT uiParam,  // depends on action to be taken
  PVOID pvParam, // depends on action to be taken
  UINT fWinIni   // user profile update flag);

SPI_GETDRAGFULLWINDOWS Determines whether dragging of full windows is enabled. The pvParam parameter must point to a BOOL variable that receives TRUE if enabled, or FALSE otherwise.
Windows 95: This flag is supported only if Windows Plus! is installed. See SPI_GETWINDOWSEXTENSION.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.