Keyboard/Mouse State
How to monitor the Keyboard and Mouse. Useful for detecting system inactivity or activating a program via a keypress combination. Attachments File Uploaded Size 899-20170804-062222-KEYSTATE.ZIP 8/4/2017 6:22:22 AM 1362
How to monitor the Keyboard and Mouse. Useful for detecting system inactivity or activating a program via a keypress combination. Attachments File Uploaded Size 899-20170804-062222-KEYSTATE.ZIP 8/4/2017 6:22:22 AM 1362
How to create an application-wide keyboard hook. Intercepts and destroys certain keystrokes occurring in the current process. Note that the UserControls section contains a system-wide keyboard hook. Attachments File Uploaded Size 899-20170727-173113-KEYHOOK.ZIP 7/27/2017 5:31:13 PM 2836
How to monitor the Keyboard and Mouse. Useful for detecting system inactivity or activating a program via a keypress combination. Attachments File Uploaded Size 899-20170727-172855-KEYSTATE.ZIP 7/27/2017 5:28:55 PM 1362
How to view icons from a DLL or EXE file. Shows how to extract and draw an icon from a DLL. Attachments File Uploaded Size 899-20170726-112050-ICONVIEW.ZIP 7/26/2017 11:20:50 AM 4189
How to program a single Focus event for every object. Added code that randomly sets the focus to a different control. Attachments File Uploaded Size 899-20170726-111842-HOOKFOCS.ZIP 7/26/2017 11:18:42 AM 3351
How to retrieve window handles without subclassing. Fills a ListBox with top level parent window handles and titles. Another ListBox is filled with all window handles and titles. Also show how to terminate a process. Attachments File Uploaded Size 899-20170725-084851-GETWHWND.ZIP 7/25/2017 8:48:51 AM 2959
How to retrieve drive types (CD-ROM, Removeable, Network, etc…). Fills a ListBox control with drive letters and types. Attachments File Uploaded Size 899-20170725-084650-GETDRVT.ZIP 7/25/2017 8:46:50 AM 1302
How to align fonts along a baseline. When printing different point sizes of a font using VB’s Print method, they default to aligning at the top of the characters rather than on a common baseline. This sample shows how to properly align them. Works for the Form, PictureBox, UserControl, and Printer objects. Attachments File Uploaded Size 899-20170724-191735-FNTALIGN.ZIP 7/24/2017… Read More »
How to animate transparent images without flicker. Extensive comments in the sample explains how it all works. Attachments File Uploaded Size 899-20170724-191508-FLICKER.ZIP 7/24/2017 7:15:08 PM 17609
How to use flat, non-clickable headers with the ListView control. Give your listboxes a little more modern look. Attachments File Uploaded Size 899-20170723-073320-FLATHEAD.ZIP 7/23/2017 7:33:20 AM 2144