CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2008
    Posts
    138

    Drawing PNG and text on windows startup.

    Hey all..

    I need to draw PNG(Or bitmap if it's transparent) and some text on windows startup or when someone lock the computer.. It's Non MFC application.. Can someone throw light on approach?? I'm actually blank in that.. Just the start.

    Thanks all..

  2. #2
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: Drawing PNG and text on windows startup.

    Do you want to draw it on the desktop ?

    Am afraid it might not be possible ( not 100% sure ... but ). On NT based systems ( XP, Vista ) when the computer is locked , the desktop is a different one and an application has to be executed in that desktop to be able to paint on it. That is my limited knowledge on that. I'd be curious to know what others have to say.

    As for startup, what do you mean? At boot time ? Before authentication ?

  3. #3
    Join Date
    Feb 2008
    Posts
    138

    Re: Drawing PNG and text on windows startup.

    Thanks Kirants for reply..

    Well not on desktop. I want to draw when the login window come while booting up the computer or when someone lock the computer. I believe the handle at that time would be different of when user actually logged on to machine...

    It's like putting company logo with company name when system is locked or boot up...

  4. #4
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: Drawing PNG and text on windows startup.

    This is what I like about these forums. You get to know stuff because someone else is asking for it I searched for GINA and wallpaper and I bumped into this registry hack KB

    http://www.pluralsight.com/community.../08/47691.aspx

  5. #5
    Join Date
    Feb 2008
    Posts
    138

    Re: Drawing PNG and text on windows startup.

    Well thanks for the link..But i really don't know that's gonna help me..

    I need to do it in some different way. Adding bitmap or PNG on my control then drawing text on window screen.. I know it can be done in delphi but need to do in VC. Hope you understand my problem...

    Well something like that.
    http://www.codeproject.com/KB/miscct...hscreenex.aspx

  6. #6
    Join Date
    Feb 2008
    Posts
    138

    Re: Drawing PNG and text on windows startup.

    Let me rephrase the question.. How do i draw picture (BMP or PNG) on window screen. Not Dialog Box.
    And without MFC..

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured