views:

648

answers:

5

What really happens inside the operating system(Windows) when we click the refresh option in either Desktop on in any of the folders?

Just out of curiosity, I have seen many people refreshing the Desktop(Windows) at regular intervals as if to improve the performance.

Thanks

+7  A: 

Doing desktop refresh loads the icons on the desktop again. People who are refreshing the desktop are impatient because the system doesn't feel responsive enough so they refresh the desktop to check how responsive the system is. I don't think doing this improves any performance though, on the contrary you are asking the system to do a little more(your refreshes) while its already busy doing something else.

Raminder
+4  A: 

Typically, an application level display refresh involves redrawing a screen based on the most recently available raw data, as opposed to a display buffer. Thus if you refresh your desktop on Windows or in explorer, it might take slightly longer than a similar redraw, but is more likely to have a more correct, i.e. up to date, result.

For example, if you are showing a shortcut to a network item that has been changed remotely, that update may not be reflected on your screen without a refresh, even though your screen has been redrawn, e.g. by minimizing an occuluding window.

More commonly, we see this in internet browsers, where the display is typically recreated from a local cache, whereas a refresh will rebuild that cache and redisplay based on the most up to date remote data. Again, this may be slower than a simple redisplay.

Shane MacLaughlin
+2  A: 

You can ask on Win32 api ng news://comp.os.ms-windows.programmer.win32

to get source code of Explorer...

+1  A: 

Updates from group policy on desktop related items like wallpapper will be rechecking while the refreshing..

A: 

all above answers are wrong. please if dont know than dont comment, dont give wrong answers

fazal
If you feel those answers are wrong, then please say why you feel that way. Better yet, please give the correct answer.
John Saunders
Yes fazal, please tell us what is the real answer.
Shekhar