Results 1 to 6 of 6

Thread: CreateDesktop()

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    7

    CreateDesktop()

    Ok, I know that this is a very open-ended question, but such is the nature of the beast. I am attempting to learn more about the Windows API and CreateDesktop is something that still eludes me. What exactly does it do, and how would one use it? Any examples or programs which use it would be immensely helpful. Thanks!

    Peter

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    This is an interesting question insofaras I can't find anything on a CreateDesktop API on either of the API websites that I use (http://www.allapi.net/ and http://www.vbapi.com/ref/funca.html, nor is it listed in VBs API Viewer. Where did you run into this beast?

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    I'd assume it would be used for Terminal Services or maybe the fast-user-switching (XP) where more than one user could be logged in at the same time.

    Also, when you run a password protected screen saver under NT+, NT actually automatically created a new blank desktop for the screen saver to run ontop of.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4
    jim mcnamara
    Guest
    It's part of the shell (Explorer.exe) - the desktop is an instance of explorer.exe

    See 'Visual Basic Shell Programming' by J Hamilton www.OReilly.com

  5. #5

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    7

    Reply to questions...

    Actually, I ran into CreateDesktop in the API Text Viewer that comes with Visual Studio. It seemed like an intriguing name for an API call. I suppose I could buy the OReilly book, however as a broke college student it won't be for some time. Hey, I bet that our campus library has a copy of it though... I'll check and see. Thanks for the info and if anyone comes up with anything else, let me know.

    -Peter

  6. #6
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    It's documented in the MSDN Library...
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

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