I've docked my program to the system tray. and whenever the icon gets double-clicked a dialog appears. But when I minimize the dialog box (I've set the dialog to close when the minimize button gets pressed) and reopen it, the dialog it isn't focused. I've tried enablewindow(). If anyone knows a function or anything that can activate a dialog box. could please reply thanks.
cal.