Subj : Re: Dissabling PRINT-SCREEN To : borland.public.cpp.borlandcpp From : Sebastian Ledesma Date : Thu Sep 22 2005 01:42 pm " Bruce Salzman" escribió en el mensaje news:4332ccac$1@newsgroups.borland.com... > > "Jeff Kish" wrote in message > news:0u55j11c78j0c5mjolke1lorerhottnk19@4ax.com... > > On Wed, 21 Sep 2005 14:35:56 -0300, "Sebastian Ledesma" > > wrote: > > > >>Hi: > >>I wish to dissable PRINT SCREEN in a Win32 app. > >>(I dont want screen-shots of the info that my program shows) > >>There is any way? > >> > >> > >>Thanks in advance. > >> > >>Saludos > >>Sebastian > >> > > don't really know. Can you intercept keystrokes? > > > I think this would require a global keyboard hook, since you would > need to filter keystrikes even when another app has focus. > > -- > Bruce > > Hi Bruce: Yes I was looking info about that, but I found another alternatives like checking clipboard state when application lost focus (WM_ACTIVATE) or setting a timer each 5ms to catch VK_PRINT_SCREEN with GetAsyncKeyState. The global Key hook it's the official solucion, but others also help. Saludos Sebastian .