Hi, I created a program (for windows) that docks a bar just over the windows bar (task bar). The problem is when I allocate the space to put the bar, it appears in the space that was reserved and then moves (by itself) to the middle of the screen.
The weird thing is if i put a QMessageBox in the code before the "move" statement, it works, I mean the bar stays in the place that was reserved.
Obviously i need the bar stays in the allocated space without any QMessageBox.
I attach here an example code.
PS: Mostly of this problem belong to windows API, may be this is not the correct forum, in that case, please tell me where can I post this topic.
Bookmarks