Tip Bank

DevX - Software Development Resource

Return Focus After Button Click

Here’s an easy way to return the focus to a control after the user clicks on a button on the screen. If you use the keyboard, you can save time

DevX - Software Development Resource

Determine Which ListView Column Was Checked

When using the ListView control in list mode (Listview.View = lvwList), no property indicates which column the user clicked on within the selected row. The ListView’s HitTest method returns only

DevX - Software Development Resource

An Alternative STL Implementation

The STLport organization offers an alternative implementation of the Standard Template Library. You can install the alternative instead of using the existing STL implementation shipped with your compiler. The creators

DevX - Software Development Resource

Close all MDI Children Simply

This code allows you to close all the MDI child forms in an MDI form at once. First, create a menu item in the MDI form, then paste in this

DevX - Software Development Resource

Efficient Array Copying

Suppose you want to assign the contents of a two-dimensional array to another two-dimensional array: int weekly_hours[5][5]; // source int another_array[5][5]; // destination You can use a nested loop to

DevX - Software Development Resource

Call a DLL From an ASP Page

Question: I used Visual Basic 6 to create an ActiveX control (student.ocx), which the client downloads, and an ActiveX DLL (Math.DLL), which I want to remain on the server. Student.ocx