July 21st, 2010

No, you can't lock a gadget to the top of the sidebar

In another installment of I bet somebody got a really nice bonus for that feature, I offer you this customer:

My customer has created a Windows Vista sidebar gadget and wants to know if there’s a way to force this gadget to appear at the top of the sidebar and prevent the user from moving or removing it.

I applaud this company for having written the most awesome sidebar gadget in the history of the universe. It’s so compelling that it should override the user’s preferences and force itself into the upper right corner of their screen in all perpetuity.

Unfortunately, Windows was not prepared for a program as awesome as this, and there is no supported way to force a gadget into a particular position and prevent the user from moving or removing it.

Topics
Other

Author

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

0 comments

Discussion are closed.