Results 1 to 3 of 3

Thread: Two questions about API calls.

  1. #1

    Thread Starter
    Hyperactive Member kourosh's Avatar
    Join Date
    Aug 1999
    Location
    Vancouver, British Columbia, Canada
    Posts
    256

    Question

    Hi, I am writing a security program. Well if you read my last topic was about a way to encrypt or decrypt files. But I forgot to ask about something else.
    I know that there are some API calls which can disable the desktop and the task bar. I have seen them work before I just don't know their name if some one can explain it too I really appreciate otherwise just give me the API calls.

    ==========
    Kourosh
    ==========

  2. #2
    Lively Member
    Join Date
    May 1999
    Location
    Singapore
    Posts
    116

    Post

    Private Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long
    Private Declare Function GetDesktopWindow Lib "user32" () As Long

    put in any event
    lockwindowupdate getdesktopwindow()

    the lock window update api can onli lock 1 window at a time

  3. #3

    Thread Starter
    Hyperactive Member kourosh's Avatar
    Join Date
    Aug 1999
    Location
    Vancouver, British Columbia, Canada
    Posts
    256

    Exclamation Can you give a code example please?

    Thanks, but can you give me an example I just can't seems to understand it. From the both API's does one of them also luck the Taskbar?
    ===========================
    Kourosh Gonabadi
    VB Programmer
    C++ Newbie
    Graphic Designer
    ===========================

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