Tip Bank

DevX - Software Development Resource

Be User-Friendly With Double-Clicks

The idea behind the Java’s handling of double-clicks on the mouse is that if the mouse is clicked fast enough for two times in the same spot, a “java.awt.event.MouseEvent” event

DevX - Software Development Resource

Aligned Columns in java.awt.List

You can use, or extend, java.awt.List to create a simple multi-column list. In order to do so, you need to use a fixed character width font set like Courier. Suppose

DevX - Software Development Resource

Special Folder Path

Question: I want to find the path to the Startup special folder. How can this be done within a VB application? Answer: It takes a couple of steps, but is

DevX - Software Development Resource

Running Stored Procedures

Question: In the Tastrade sample framework and application that ships with Visual FoxPro, I only see examples of running stored procedures in a VFP database from a rule or validation

DevX - Software Development Resource

View Information Stored in Type Libraries

You can use this method to view all the CoClasses, and Interfaces present in thetype library. In order to run this tech tip you need following things:(a) VB5 or VB6(b)

DevX - Software Development Resource

Constant Pointer

Question: Can you expalin the difference between the following statements in some examples and when do we need them: const char *ptr; //char *const ptr; // Answer: The following statement:

DevX - Software Development Resource

Cursor Customization

Question: I can set the cursor to a variety of stock cursors (e.g., HAND_CURSOR)but would like to use my own images to extend the availablecursors. Is this possible? Answer: JDK