Visual C++ Developer Center > Visual C++ Forums > Visual C++ Language > Create Desktop Side bar using VC++ ATL MFC
Ask a questionAsk a question
 

AnswerCreate Desktop Side bar using VC++ ATL MFC

  • Sunday, November 01, 2009 11:46 AMMegaau Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,
      I want to create a desktop side bar for Windows xp and Vista like a google desktop using VC++ MFC ATL so pls give me a way to create this application.
    Thanks.

Answers

  • Sunday, November 01, 2009 8:35 PMdumitru.pisarciuc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello,

    Please see http://www.codeproject.com/KB/toolbars/AppBar.aspx
    I guess this is a good example of what you need.

    Good Luck!
  • Monday, November 02, 2009 7:01 AMRong-Chun ZhangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello Megaau,

    Apart from dumitru's suggestion, the following article is also worth reading.
    http://www.codeproject.com/KB/wtl/CAppBar.aspx

    Thanks,
    Rong-Chun Zhang
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Monday, November 02, 2009 9:04 AM.Sreedhar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Some kind of solution:

    # Create a dialog based application

    # make the dialog as topmost

    # Skin the dialog as per your desire (You can search in codeguru or codeproject for this)

    # Position the dialog on the desktop (Better on right hand side to not to hiding the desktop icons)

    # In the timer, check for the desktop window using find window api, if you found maximize your dialog. if it is not the desktop window minimize your dialog. (This is not to show your dialog when any other window is maximized on desktop)


    Important note: It is a Layman's kind of explanation to reach towards your goal. Not the exact solution. Viewers please keep this in mind to fire queries on this post.




    Knowledge is like light; It spreads only when you have clear and transparent mind. - Sreedhar Dv

All Replies

  • Sunday, November 01, 2009 11:53 AMBelloc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The desktop is managed by the OS. You can't draw anything in there that is persistent through an application.
  • Sunday, November 01, 2009 8:35 PMdumitru.pisarciuc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello,

    Please see http://www.codeproject.com/KB/toolbars/AppBar.aspx
    I guess this is a good example of what you need.

    Good Luck!
  • Monday, November 02, 2009 7:01 AMRong-Chun ZhangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello Megaau,

    Apart from dumitru's suggestion, the following article is also worth reading.
    http://www.codeproject.com/KB/wtl/CAppBar.aspx

    Thanks,
    Rong-Chun Zhang
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Monday, November 02, 2009 9:04 AM.Sreedhar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Some kind of solution:

    # Create a dialog based application

    # make the dialog as topmost

    # Skin the dialog as per your desire (You can search in codeguru or codeproject for this)

    # Position the dialog on the desktop (Better on right hand side to not to hiding the desktop icons)

    # In the timer, check for the desktop window using find window api, if you found maximize your dialog. if it is not the desktop window minimize your dialog. (This is not to show your dialog when any other window is maximized on desktop)


    Important note: It is a Layman's kind of explanation to reach towards your goal. Not the exact solution. Viewers please keep this in mind to fire queries on this post.




    Knowledge is like light; It spreads only when you have clear and transparent mind. - Sreedhar Dv
  • Friday, November 06, 2009 1:24 PMRong-Chun ZhangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello Megaau,

    Have you got any progress on this issue? If there is anything else we can help, welcome to post here.

    Thanks,
    Rong-Chun Zhang
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.