You could try resetting the focus back to your window in its onfocus() event, but I'm not entirely sure it will work. Besides, a window that always has the focus will irritate an awful lot of users. The purpose of Windows is to allow users to switch to other tasks. To deliberately break this model will frustrate and anger many users...
The StartPage Randomizer | The Timelapse Project
Don't use the add method. Try this:
Dim si As ListSubItem
Dim li As ListItem
Dim i, J As Integer
For i = 1 To 20
Set li = ListView1.ListItems.Add(Text:="Item " & i)
For J = 1 To 4
Set si = li.ListSubItems(J).Text = "Subitem " & J
si.ForeColor = vbRed
Next J
Next i
there is no simple way to do it in C++. you will have to do something like this:
// alloc an array of arrays
int ** array = new int* [sizex];
for (int i = 0; i < sizex; ++i)
array[i] = new int[sizez];
-c
"Half of the harm that is done in this world is due to people who want to feel important." -- TS Elliot
There is a sample under the tree controls on this site that enumerates the network. If you get it to be able to also browse target machines, and files, please let me know. I got close, but not close enough.