What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Creating menu's

[?] Creating menu's
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
O.P. [?] Creating menu's
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:
[Image: attachment.php?pid=808469]

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! :)

.png File Attachment: menu_notontop.png (4.72 KB)
This file has been downloaded 354 time(s).
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
04-14-2007 08:49 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Creating menu's - by Matti on 04-14-2007 at 08:49 AM
RE: [?] Creating menu's - by vikke on 04-14-2007 at 09:21 AM
RE: [?] Creating menu's - by Matti on 04-14-2007 at 09:32 AM
RE: [?] Creating menu's - by vikke on 04-14-2007 at 09:42 AM
RE: [?] Creating menu's - by Matti on 04-14-2007 at 09:47 AM
RE: [?] Creating menu's - by vikke on 04-14-2007 at 09:56 AM
RE: [?] Creating menu's - by Matti on 04-14-2007 at 10:07 AM
RE: [?] Creating menu's - by matty on 04-14-2007 at 02:57 PM
RE: [?] Creating menu's - by Matti on 04-15-2007 at 09:26 AM
RE: RE: [?] Creating menu's - by deAd on 04-15-2007 at 02:48 PM
RE: [?] Creating menu's - by Matti on 04-15-2007 at 05:08 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On