Does anyone now how to achieve a "Secure-Desktop Mode" (effect) such as one gets from the Windows Vista/7 UAC consent-blocks?
I assume it is some function which will remove pixels here-and-there (and possibly graying them) and then finally drawing that to screen. I would like to apply it to my application to keep the user from doing anything until another user connects to the system (but that is beside the point).
I would really appreciate the advice.
Kind regards,
A.
EDIT: I was really only looking for this
graphicsFX.setColor(new Color(0, 0, 0, 0.8f));
graphicsFX.fillRect(0, 0, 800, 600);
The deferring of input I can do quite well.
Thanks to all.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…