Right...
So, I was working on another script which I want to be translatable. A lot of scripts use XML rewriting for that, but I think that method is getting overused, while the Win32 API has great functions to do that. So far, I managed to create tooltips using the _ToolTip class (thanks Eljay!!) but now I'm trying to develop an alternative for MenuButtonControls. I was thinking of a child window in the parent window which would be made visible by clicking on a button and be hidden by clicking somewhere else. But there seem to be a catch...
I first create the window with MsgPlus.CreateWnd and open it unactivated using a flag. Then, I set the parent of that child window to the main window. After that, I position the window so it's placed just beneath the button. And then, for testing purpose, I make it visible. But, the child window gets partially hidden by the underlaying window controls: the child is not on the top Z-index in the window. A screenshot to clarify:
Now my question is: how can I set the child window to be on top of the other window controls? SetForegroundWindow and BringWindowToTop fail to do this... I understand that this is a very tricky method I'm trying, but if you could possibly help me, please do so!