Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-20-2004, 02:21 AM   #1
Member (3 bit)
 
Join Date: May 2004
Posts: 4
Calling XP geniuses! Can you solve this mystery!?

I am a computer tech for PC based Professional Audio systems (multitracking DAWs mostly) so I know my way around XP pretty well, but for the life of me I can not solve this problem.

I am having the problem with 2 identical Dell Inspiron 5150 laptops runnoing XP Home, and you should see the silly solutions Dell support are sending me (rediculous). the problem is this.

For professional audio work you absolutely MUST have Show Window Contents While Dragging enabled.

There are two places to enable this. one is under the Display properties Appearance/Effects tab and the other is in the System Control Panel tab under performance options.

On both inspirons, the option is always checked in the system performance panel, but under display properties it is not. I check it, apply it, and all is well - the windows are shown while dragging....

Until I restart or shut down. When the computer reboots, no matter what I have tried (and I have tried every combo of turning them on and off and enabling them in both areas, disabling them, whatever) whenever I restart the check mark is removed from the option under display properties.

It always remains checked under the control panel performance tab, but if it is not checked under display properties all I get while dragging is the outline.

My temporary solution is to enable the function under the display properties every time I start up, but why will the setting not be remembered!?

I searched for a registry key, but the only one I could find looked as though it had the function enabled. Something is flushing the setting (on both brand new inspirons) every restart!


Dell support has been sending me foolish little suggestions like "adjust the screen resolution to match your monitor" "install the latest video drivers" "disable all unnecessary applications at startup for a faster system" "turn off some windows effects to increase system performance". ...but we all know they are rediculous and laughable anyway. So what do I do now?

Thanks to anyone who might be able to help!

Shane
Category 5 is offline   Reply With Quote
Old 05-20-2004, 09:22 AM   #2
Member (8 bit)
 
Rapier's Avatar
 
Join Date: May 2001
Location: Runnemede NJ
Posts: 236
Send a message via AIM to Rapier
This isn't a solution but hibernate might keep it.
__________________
Women are better people, Men are better men

Windows XP Home Edition Service Pack 2 (build 2600) Dell E521 1.90 gigahertz AMD Athlon 64 X2 Dual Core
PHILIPS DVD-ROM
TEAC USB HS-CF Card Device
WDC WD800JD-75MSA3 [Hard drive] (80.00 GB) -- drive 0, s/n
WD-WMAM9KL69938, rev 10.01E04, SMART Status: Healthy 2048 Megabytes
NVIDIA nForce 430/410 Serial ATA Cntl(2x) NVIDIA GeForce
7300 LE[Display adapter]Soyo 24" Widescreen LCD Monitor 24D6

Processor Intel Pentium III, 501 MHz
System Board ICO Peripherals, Inc. Intel 440ZX
BIOS ASl, Inc. 4.51 PG 06/03/99 Chipset Intel 82443BX
Memory 512 MB Memory Type 256+256;|DIMM|SDRAM|;T5
Video board S3 Graphics Inc. Savage4
Video mode 800x600, 32 bits/pixel
XP 5.1.2600
Rapier is offline   Reply With Quote
Old 05-20-2004, 09:43 AM   #3
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Are you running any sort of anti-hijack or anti-spyware software fulltime? What it might do is prevent certain registry changes on your system, or might reset it to a previous value.
I would suggest checking to see if you have anything of that nature running and disable it for the time being.

Have you tried editting the registry manually? If you do not know how to edit it please post back here.
1) When you boot up, do not change the folder settings to enable dragging yet.
2) Open up regedit
Change the following keys
HKEY_CURRENT_USER\Control Panel\Desktop\DragFullWindows
Change the value from 0 to 1
HKEY_USERS\.DEFAULT\Control Panel\Desktop\Desktop\DragFullWindows change the value to 2
Statica is offline   Reply With Quote
Old 05-20-2004, 09:58 AM   #4
Member (7 bit)
 
Join Date: Apr 2004
Location: Ontario, Canada
Posts: 91
I think Statica is on to something, but it could even be a "feature" that's specific to Dell, so have a look at what kinds of programs they run at startup. Another thing to try is turning off System Restore by right-clicking My Computer then picking Properties (I think this is the right name for the feature, not on an XP machine at the moment).
One question, if you don't mind, I found this statement odd:
Quote:
For professional audio work you absolutely MUST have Show Window Contents While Dragging enabled.
Why is that?
Metaphorically is offline   Reply With Quote
Old 05-20-2004, 10:47 AM   #5
Miz
Member (9 bit)
 
Join Date: Jun 2002
Location: Kansas
Posts: 491
Poke around in Dell's "user experiece" software. I don't have it on mine so I must have gotten rid of it but I've read several suggestions that it may be the problem.

You might try either running the Doug Knox script, xp_save_settings.vbs (or manually making the registry changes it contains).
Miz is offline   Reply With Quote
Old 05-20-2004, 02:53 PM   #6
Member (3 bit)
 
Join Date: May 2004
Posts: 4
Well, No go yet. I tried to uninstall the Dell Support Agent but it cancelled itself three times. I am logged in as an aministrator so this is very odd behavior to me as well.

The reason "Show Window Contents" must be enabled for pro audio work is that there are usually several items set to always on top so other windows will go behined them. Certain processors have necessary visual information in their interface, as well as redundant information so to save screen real estate you can position windows so that the pertinent visuals are showing while the redundant ones are hidden by the "on top" windows (usually the mixer, performance meter, time clock, and panel selector). With "show window contents" disable it is impossible to maximize efficient screen real estate without dragging and dropping each window several times. This takes up valuable time and at $65 - $100.00 and hour it can add up as a loss!

I may end up just buying another copy of windows and installing it on the laptop. But then I anticipate driver issues....sigh. Keep em coming, and thanks a lot for all the help. This is a responsive forum to say the least!

Shane
Category 5 is offline   Reply With Quote
Old 05-20-2004, 04:24 PM   #7
Member (7 bit)
 
Join Date: Apr 2004
Location: Ontario, Canada
Posts: 91
Buying Windows when you already own it sounds a bit extreme. How about a workaround? Here's an extra-hokey vbscript that toggles the setting on the Windows 2000 display settings. This is only guaranteed to work five seconds ago on the machine I'm currently using. I can try to tweak it for Windows XP when I'm on that machine later.

Code:
set sh = CreateObject("WScript.Shell")

' Bring up display properties
sh.run "rundll32.exe shell32.dll,Control_RunDLL desk.cpl"

'WScript.Sleep 1000

sh.AppActivate "Display Properties"

' ctrl-shift-tab twice
sh.SendKeys "^+{TAB}^+{TAB}"

'WScript.Sleep 1000

' alt-w is the accelerator for "Show window contents while dragging"
sh.SendKeys "%w"

'WScript.Sleep 1000

' enter is the same as "Okay" 
sh.SendKeys "{ENTER}"
Copy this and save it in a file called "DisplayHack.vbs". Then you can run the script and see if it works. The ' character means the line is a comment, so you can uncomment the Sleep lines to slow it down and see what happens. I know it's a headache, but it could let you work around the problem until you get a permanent fix.
Good luck.
Metaphorically is offline   Reply With Quote
Old 05-21-2004, 07:48 AM   #8
Member (7 bit)
 
Join Date: Apr 2004
Location: Ontario, Canada
Posts: 91
Here's one that worked on my XP machine 5 seconds ago:

Code:
' the lower slowness is, the faster it goes, 
' but it will break if it's too fast :(
Slowness = 1000

set sh = CreateObject("WScript.Shell")

' Bring up display properties
sh.run "rundll32.exe shell32.dll,Control_RunDLL desk.cpl"

WScript.Sleep Slowness

sh.AppActivate "Display Properties"

' ctrl-shift-tab twice
sh.SendKeys "^+{TAB}^+{TAB}"

WScript.Sleep Slowness

' alt-e is the accelerator for the "Effects..." button
sh.SendKeys "%e"

WScript.Sleep Slowness

' alt-w is the accelerator for "Show window contents while dragging"
sh.SendKeys "%w"

WScript.Sleep Slowness

' enter is the same as "Okay" for the Effects Dialog
sh.SendKeys "{ENTER}"

WScript.Sleep Slowness

' now press "Okay" on the Display Properties one
sh.SendKeys "{ENTER}"
Metaphorically is offline   Reply With Quote
Old 05-23-2004, 04:32 AM   #9
Member (3 bit)
 
Join Date: May 2004
Posts: 4
Thanks Meta,

How will this work? Will it autoexecute the script every time at startup? I checked the registry, and the effect is enabled by default everywhere except in the display properties/effects area. Too bizarre, but before I execute your script please tell me all in all what exactly the mechanism of its' action is.

Again, I am very thankful for your guys help. This is a great forum. Most forums let requests like this go unanswerd for weeks, despite a couple of bumps.

Shane
Category 5 is offline   Reply With Quote
Old 05-23-2004, 05:09 AM   #10
Member (9 bit)
 
thorlo6's Avatar
 
Join Date: Aug 2003
Location: Florence, Mississippi
Posts: 261
Category 5, welcome to PCMech. Not all of us know a whole lot about changing registry, etc. But, there is a strong sense of helping, here @ PCMech. I know that this reply from me won't help your problem. I'm more of cheerleader for people like Statica, glc, miz, metaphorically,etc. We do our best to help everyone.thorlo6
__________________
[FONT=Times New Roman]
thorlo6 is offline   Reply With Quote
Old 05-24-2004, 05:08 PM   #11
Member (7 bit)
 
Join Date: Apr 2004
Location: Ontario, Canada
Posts: 91
The script is just a workaround to act as if you right-clicked the desktop, pressed properties, went to the appearance tab, pressed the effects button, then toggled the show contents setting.

I enjoy vbscript right now, so I'll go through it a piece at a time:

Code:
Slowness = 1000
This is just a variable to control how fast the rest of the script runs (instead of typing 1000 over and over, I used the name "Slowness")

Code:
set sh = CreateObject("WScript.Shell")
This creates a WshShell object which lets us use the AppActivate and SendKeys methods later (keep on reading and that'll make sense).

Code:
sh.run "rundll32.exe shell32.dll,Control_RunDLL desk.cpl"
This line does the same as running the display control panel applet. It took a long time to figure out, but should've been obvious. Do a search in your Windows folder and you'll find desk.cpl. If you click on desk.cpl, Windows looks in the registry to figure out what to do with a .cpl file. It finds it under HKEY_CLASSES_ROOT\cplfile\shell\cplopen\command. The command there is "rundll32.exe shell32.dll,Control_RunDLL %1,%*" All I did was replace the %1,%* with desk.cpl to get a command that is the same as clicking on the cpl file. Finally, since we know that clicking the cpl file is the same as right clicking the desktop and picking properties, we know this will bring up the Display Properties dialog that we want to see so badly.

Code:
WScript.Sleep Slowness
After all that work, wait a second for the dialog to appear.

Code:
sh.AppActivate "Display Properties"
AppActivate is effectively "Alt-Tab" to the window that's named.


From here on, the two main commands that the script uses are SendKeys and Sleep. These are used to simulate pressing keys on the keyboard. For example

Code:
sh.SendKeys "^+{TAB}^+{TAB}"

WScript.Sleep Slowness
Sends control-shift-tab twice. This switched us to the Appearance tab. If you have extra property-sheet tabs that I don't have (like one for McAfee or ATI), then this part could well put you on the wrong tab. That's what I don't like about this script. The good thing is, it's easy for anybody to adjust the keypresses by changing the SendKeys command. Similarly, you might have to adjust the others if you have different keyboard accelerators than me (for some strange reason).

After reading all this, you can probably see it's not a good script to run automatically, but it would be good to keep on your desktop and click once after booting instead of making the 5 or so clicks you make now.

Once again, it's a workaround, it should save you a couple seconds. On the upside, it doesn't mess with your registry or do anything you can't see directly.

Here are the references at Microsoft for the commands that are used in the script:
The WshShell Object
AppActivate
Sleep
SendKeys
Run Method
Metaphorically is offline   Reply With Quote
Old 05-24-2004, 07:21 PM   #12
Member (3 bit)
 
Join Date: May 2004
Posts: 4
Very cool! ...and thanks.

Any reason not to just put it in the startup folder? Isn't that the same as clicking once windows starts?

I am also going to explore the user rights in the mmc. Mayber there is a setting preventing saving the settings on logout. I know XP Professional has this switch automatically disabled, but I don't know about XP home. I actually deal with Pro 95% of the time so I don't know all of the differences.

Thanks again!
Shane
Category 5 is offline   Reply With Quote
Old 05-25-2004, 07:01 AM   #13
Member (7 bit)
 
Join Date: Apr 2004
Location: Ontario, Canada
Posts: 91
Enjoy. The only reason I wouldn't put it in startup is that SendKeys can be interrupted by other things happening on the computer. If the script starts, then some other program starts before it's done, the keystrokes can be sent to the wrong app.
MMC is a good place to look, there are all kinds of surprises in there. If you do find a permanent fix, that would be better than what I proposed. Be sure to let us know if you do.
Metaphorically is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:24 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2