devxlogo

September 25, 1999

Don’t stop timers when a MsgBox is active

Not all developers know that Timer controls in compiled VB5 and VB6 applications aren’t stopped by MsgBox statement, so the Timer’s Timer event procedure is regularly executed even when the

Check whether a form is loaded

You can load several instances of the same form, but VB doesn’t let you determine how many forms of a given class are currently loaded. You can work around this

Open the list portion of a ComboBox control

To programmatically open and close the list portion of a ComboBox control, all you need is sending the CB_SHOWDROPDOWN message to the control. Here is a routine that encapsulate the