I've seen so many users to right click and refreshing the desktop. So what exactly is "Refreshing the desktop"???
Initially i thought that refreshing anything will boost up my PC.. Some of my friends throw some jargon about RAM and told me that "If you want your PC to work uninterrupted and speedy just keep on clicking refresh" and many of us keep doing it without actually know what it do?
So when i started working on VC++ and did some window program than i come to know that refreshing has nothing to do with boosting your PC.. It just update your desktop.. Update How??
Window has this special messages and one of them is WM_PAINT. When you click on refresh, the Operating System just send WM_PAINT message to all the application to re-draw their window so that any of the pending work get reflected..
A very good example is that when you copy some stuff(movie file, text file etc) and paste to some folder, the positioning of that stuff is not specific to the folder setting of that particular folder and then when you click refresh, it adjust automatically..



LinkBack URL
About LinkBacks
Reply With Quote
