Introducing Windows Vista Sidebar and developing a gadget

Download this episode

Download Video

Description

Author: Hi, I am Daniel Moth Big Smile

Introduction: You may read about Sidebar and gadgets on my blog here, here and here.

Video Content:
00' - 08'  Sidebar and gadget feature review
08' - 19'  Building your first gadget from scratch
19' - 21'  Other gadget APIs
21' - 22'  Summary
22' - 24'  Built-in gadget code
24' - end Close

Video Download: Either click on the left to play the video (from a streaming file) or to download it in a zip file save it from here.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      TommyCarlier
      Nice overview. Thanks.
    • User profile image
      Daniel Moth
      Thanks Tommy, glad you enjoyed it Smiley
    • User profile image
      christianw
      Nice... But OH ... MY ... GOD! what an annoying soundtheme! Almost made me turn the sound off!

      Wink

      Christian...
    • User profile image
      Daniel Moth
      Lol... You are right Christian... I almost re-recorded the thing when I realised, but thought it was too annoying not to share [6]
    • User profile image
      jBuelna
      Daniel Moth wrote:
      Lol... You are right Christian... I almost re-recorded the thing when I realised, but thought it was too annoying not to share


      Ah, Camtasia clicks.  Lovely.   I really enjoyed this screencast.
    • User profile image
      Daniel Moth
      jBuelna wrote:
      
      Daniel Moth wrote: Lol... You are right Christian... I almost re-recorded the thing when I realised, but thought it was too annoying not to share


      Ah, Camtasia clicks.  Lovely.   I really enjoyed this screencast.


      Thanks... Rest assured those pesky clicks are not present in any captures following this one... e.g. check this one out (shameless plug Tongue Out)!
    • User profile image
      jTakasu(Moo)

      It is good-looking.

      I will make the gadget referring. Wink

    • User profile image
      nikez2k4
      Daniel...

      That has to be one of the best tutorial videos I have ever seen. Really enjoyed watching it...even if it did include the clicks! Smiley

      Had to register just to say thanks for posting it. I am very new to Channel9 so not really sure what I am doing yet...but have you done any other Sidebar videos?

      Take care,
      MOZ
    • User profile image
      Daniel Moth
      Hi MOZ
       
      Welcome to channel9 and thanks for your kind words, much appreciated Big Smile

      Sorry, I have not done any other Sidebar videos but there are plenty of links to more gadget information from the links to my blog at the top.

      For more videos like this one but on other topics, check out the channel9 screencasts section (and filter as you wish by clicking on the tags on the left of that page e.g. Vista-only or Windows Mobile etc).

      Have fun!Cool
    • User profile image
      pkellner

      Seems I'm following you.  I use to read your mobile stuff, now that I've moved back to web development, here you aer again doing gadgets (which I'm just learning).  What are we doing next? 

      Seriously, thanks for the video.  It was a big help.

      Peter Kellner, MVP ASP.NET

    • User profile image
      Daniel Moth
      pkellner wrote:
      

      Seems I'm following you.  I use to read your mobile stuff, now that I've moved back to web development, here you aer again doing gadgets (which I'm just learning).  What are we doing next? 

      Seriously, thanks for the video.  It was a big help.

      Peter Kellner, MVP ASP.NET



      LOL.. Thanks Peter!

      Well, "we" are always doing mobile, that never goes away. And Vista stuff will stay with us as well.... Next we are doing all things "Orcas" so get ready for the ride Cool
    • User profile image
      Eike
      Thank you for this quick overview Smiley
    • User profile image
      Daniel Moth
      Glad you enjoyed it Eike Smiley
    • User profile image
      Daniel Moth
      For those experiencing difficulties with using a hyperlink for the flyout, please use a button instead:

      <button onclick="toggleFlyout();">Toggle Flyout</button>

    • User profile image
      debbiesdrea​ms
      This is awsome!!  Time to get creative Smiley
    • User profile image
      Daniel Moth
      Thanks! BTW, some more resources you can check out are here:
      http://www.danielmoth.com/Blog/2007/02/windows-vista-sidebar-gadget-articles.html
    • User profile image
      bcgreen
      I've tried a couple of "Hello, world" gadget examples, including one straight from Microsoft.  I even cut and pasted the code.   But this is the result I get.  Notice how the gadget is cut off (even though body size is set to 130x50, again-- I cut and pasted the code):

      Gadget problem

      Any suggestions? Thanks! Bryan
    • User profile image
      Daniel Moth
      bcgreen wrote:
      Any suggestions? Thanks! Bryan


      My suggestion is that you post full details asking for help at the free online support forums Wink

      http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=1063&SiteID=1

      Good luck!
    • User profile image
      guptasan90
      Hi Daniel,
      I viewed your blog and video about 'Introducing Windows Vista Sidebar and developing a gadget'. I really appreciate your work.
       
      I want to know whether I can use gadgets in my application(using VC++)? I mean, can i display the gadgets installed in System into my dialog window in the same way they are displayed in sidebar. If yes, how?
       
      I will be really thankful for any help of yours.
    • User profile image
      Daniel Moth
      Hi guptsan90. Not out of the box, unless you want to replicate the sidebar host functionality in your C++ application.
    • User profile image
      guptasan90

      Thanks Daniel for your quick reply.

      I have two questions: 
      1) Is there any documentation digging into the sidebar host functionality ?
      2) Is it not possible for any container other than sidebar to host gadgets now? If no, will it be possible in future?

      Thanks in advance.

    • User profile image
      Daniel Moth
      Guptasan, I thought I answered both those questions in my previous reply and over email. In a nutshell, "No" and "Not that I know of". Please do use the dedicated Sidebar forums for generic questions. Hope you get it working Smiley
    • User profile image
      pcarew
      Thanks for the turorial, it was helpful.
      I am however confused by the difference/discrepancy between your manifest tags and those contained in the Microsoft TechNet tutorial:

      http://www.microsoft.com/technet/scriptcenter/topics/vista/gadgets-pt1.mspx

      The Microsoft Technet tutorial uses a different set of tags for specifying the html code. Here is a snippet from the Technet article:

          <gadget>
            ...
            <sidebar>
              <type>html</type>
              <permissions>full</permissions>
              <code>test.htm</code>
              <website>www.microsoft.com/technet/scriptcenter</website>
           </sidebar>
          </gadget>

      This is instead of the:
      <hosts>
         <host>
            <base>
               ....

      Was there/are there two competing sets of manifest tags?

    • User profile image
      Daniel Moth
      pcarew, sorry I don't know (my instant reaction is "use what works"). Please do post to the dedicated Sidebar forums.
    • User profile image
      WidgetsGuy
      I saw your name on the Creating Vista Gadget book, Did you co-authored that book ?
    • User profile image
      Daniel Moth

      WidgetsGuy, there are many books on gadgets, and no I have not participated in authroing any of them. I have only co-authored the Mobile Development Handbook.

       

      Cheers

      Daniel

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.