hi, im using visual c++ 6.0 with MFC and if i minimize my dialog window to the taskbar (not by code) and then use ShowWindow(SW_HIDE); on it, then i use ShowWindow(SW_RESTORE); to show it back again and then if i click the window from the taskbar to minimize it it just won't work anymore, i have to right click the window from the taskbar to fix it and make it minimize by clicking the window from the taskbar again..
note that there isn't any problem if i just minimize it first by code by using ShowWindow(SW_MINIMIZE);
does anybody know how to fix this? or is it a windows bug that cannot be fixed?