🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#11210
From: Ted Byers
Date: Thu, 19 Feb 2004 21:09
35 lines
2241 bytes
Thanks Remy.

This is exactly what I was looking for.  And, I will only be supporting W2K
and XP, so the CreateDesktop, CloseDesktop and SwitchDesktop functions will
do nicely.

Thanks,

Ted

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:403517d4$1@newsgroups.borland.com...
>
> "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: <403524dc@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40350379$1@newsgroups.borland.com> <403517d4$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 13:10:48 PST
From: "Ted Byers" <r.ted.byers@sympatico.ca>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40350379$1@newsgroups.borland.com> <403517d4$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 16:09:23 -0500
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 65.95.240.180
Message-ID: <403524dc@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077224668 65.95.240.180 (19 Feb 2004 13:04:28 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail