Cool code snippets

Reply

Join Date: Apr 2008
Posts: 119
Reputation: marco93 is infamous around these parts marco93 is infamous around these parts marco93 is infamous around these parts 
Solved Threads: 12
marco93 marco93 is offline Offline
Junior Poster

Re: Cool code snippets

 
-1
  #11
Aug 18th, 2008
Originally Posted by williamhemsworth View Post
The only thing you can't disable like this is the ability for the user to press CTRL-ALT-DEL
Disabling Ctrl+Alt+Del is a FAQ on Adv. Win32 api ng for decades
(news://194.177.96.26/comp.os.ms-wind...ogrammer.win32)
And Disabling input like this is horrible. The official method is BlockInput()
Read the Petzold + Richter to learn Win32 api...
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,485
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso

Re: Cool code snippets

 
0
  #12
Aug 18th, 2008
Pffftt, its horrible ?? I honestly have no idea where you get this information from, it works doesn't it ??
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 236
Reputation: TheBeast32 is on a distinguished road 
Solved Threads: 6
TheBeast32's Avatar
TheBeast32 TheBeast32 is offline Offline
Posting Whiz in Training

Re: Cool code snippets

 
2
  #13
Aug 18th, 2008
marco93, I'm reading Programming Windows by Charles Petzold, and I know about MSDN, it doesn't show every cool thing that can be done with C++. If it did, I would be completely amazed. Also, HOW IS THE CODE HORRIBLE?. BlockInput can't do everything. Compile the first code for a mouse disabler. It makes it so you can only move it in a circle. Can you do that with BlockInput?
Last edited by TheBeast32; Aug 18th, 2008 at 10:33 pm.
"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live."
--Martin Golding
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the IT Professionals' Lounge Forum
Thread Tools Search this Thread



Tag cloud for IT Professionals' Lounge
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC