Recieving Windows messages

greenspun.com : LUSENET : MW Software's Visual BASIC Descusion System : One Thread

The problem I am trying to solve is this: When a certain window (or windows) open I wish to perform a certain action upon them (for example closing or hiding them) I can achieve this by having a looping routine which examines all the windows untill it finds one which needs an action taken upon it, performs the action and continues looping. However I think that I should be able to intercept the windows 'Open Window' message and check the window before it even gets opened Unfortunaely I dont know how to do this anyone have any ideas? Ben.

-- Ben Buck (Ben_Buck@Zurich.com), August 09, 1999

Moderation questions? read the FAQ