🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11208

Re: How can I require a user to run a given program the moment he ogs on?

#11208
From: Remy Lebeau (TeamB)
Date: Thu, 19 Feb 2004 20:16
20 lines
1794 bytes
"Ted Byers" <r.ted.byers@sympatico.ca> wrote in message
news:40350379$1@newsgroups.borland.com...

> But what I don't know, yet, is how to open the program modally,
> so the kid can't just bypass the test by minimizing the program or
> selecting some other program from the menu or desktop.

Make the program full-screen, disable its ability to be minimized or
switched away from, and disable the system's ability to invoke the Start
menu or special keyboard combos (CTRL-ESC, ALT-TAB, etc).

In the case of WinNT/2K/XP only, you could alternatively just create a
completely separate desktop using CreateDesktop() and SwitchDesktop() so
that the user only has access to only what you really want them to see and
access.  When they have met your requirements, you can call SwitchDesktop()
again to move them back to the normal desktop.


Gambit
Technical Details
Message-ID: <403517d4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40350379$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,743d331b2ffdf103
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-19 12:10:34 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40350379$1@newsgroups.borland.com>
Subject: Re: How can I require a user to run a given program the moment he ogs on?
Date: Thu, 19 Feb 2004 12:16:49 -0800
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <403517d4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077221332 67.22.138.253 (19 Feb 2004 12:08:52 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail