View Single Post
  #3 (permalink)  
Old 10-24-2007, 07:10 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

A bit complex.

You should use latest version of dzHW.dll (Useful Library)

1. Add a global variable
Dim hWnd
2. Somewhere in your code before hiding the form add
hWnd = dzhw.GetActiveWindowHandle
3. Add in your icon click event sub
dzHw.BringWindowToFrontC(dzHW.GetClassName(hWnd, 100))

Your form should be visible again
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote