distal-attribute
distal-attribute
distal-attribute
distal-attribute

Window problem on export

User, date Message
Written by sergtop
4 years ago
Category: Import/Export
56 posts since Mon, 23 Nov 09
While doing export operation the program window can`t be brought to front or minimize it. the only way to see the window is to minimize all windows higher, but this doesn`t work if there are more then one heidi instance on export operation.
Written by ansgar
4 years ago
4940 posts since Fri, 07 Apr 06
Well that's quite normal - your clicks are not processed until there is some CPU time in that thread again.
Written by Tribal
4 years ago
23 posts since Thu, 28 Oct 10
therefore you could maybe add a call to "processmessages" or such in your export routine after a few steps.
sorry for my interjection, it just came to my mind and my analysis is only based on this 2 posts :D
Written by ansgar
4 years ago
4940 posts since Fri, 07 Apr 06
Hehe, yes. ProcessMessages can introduce unexpected behaviour when a process runs and expects certain controls being in a specific state. But I guess the export dialog does not have such expectations, so ProcessMessages could be the right approach here.
Written by ansgar
4 years ago
4940 posts since Fri, 07 Apr 06
See r3623
Written by sergtop
4 years ago
56 posts since Mon, 23 Nov 09
works much better, thank you
 

Please login to leave a reply, or register at first.