qt-interest@trolltech.com
[Top] [All Lists]

Re: [OT] Re: Blocking task bar on windows with qt4

Subject: Re: [OT] Re: Blocking task bar on windows with qt4
From: "Duane Hebert"
Date: Thu, 25 May 2006 20:37:45 -0400
<elmosquera@xxxxxxxxxxxxxx> wrote in message 
news:f6ea8fbc74cb.4475fc1e@xxxxxxxxxxxxxxxxx
> Yes I don't want to control the access to windows I want to control the 
> time used by the users(students) in a desktop (Like an Internet coffe 
> application), we developed an application that managed the access(Date and 
> Time) to the students at the computer's room. but we need a staff for 
> comtrol this access , we need say when the time is over or something like 
> this. and we want to use an application like gcafe. 
> (http://www.enzolutions.com/gcafe/) this application block the screen 
> until an user giv
> e your username and password(Only under GNU/Linux). I can use Visual Basic 
> and disabled the Ctrl+Alt+Key with the window's api but I don't like VB.

You can block ctrl alt del combination using winapi stuff.  Basically
create a keyboard hook.  You can block alt tab and most of the
rest.  Try this link:
http://www.codeproject.com/win32/AntonioWinLock.asp

or google for others.  I've had to do this as well as
hiding the taskbar.  To hide the task bar you need
a handle to the task bar that you get using
findwindow().

I would be careful though.  You can
get into situations where not being able to kill an
app is a bad thing <g>
I have to say that it sucks. 


--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>