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

Window problem on export

sergtop posted 4 years ago in Import/Export
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.
ansgar posted 4 years ago
Well that's quite normal - your clicks are not processed until there is some CPU time in that thread again.
Tribal posted 4 years ago
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
ansgar posted 4 years ago
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.
ansgar posted 4 years ago
See r3623
sergtop posted 4 years ago
works much better, thank you

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