help with msgplus windows please - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: help with msgplus windows please (/showthread.php?tid=78739) help with msgplus windows please by waynewilson2 on 11-04-2007 at 07:43 PM
i was just wondering, how, if its possible, to change the width of a Msg Plus Window that i created, i have a var assigned to it, it is 'tehwin' but the way i want to change the size of it is by using a button, or command. RE: help with msgplus windows please by Matti on 11-04-2007 at 07:57 PM
Here you go! For more options, check out the SetWindowPos MSDN page. code: RE: help with msgplus windows please by waynewilson2 on 11-04-2007 at 08:04 PM
thanks code: can you tell me whats wrong with this? it changes to the smaller size, but not back to the bigger one... RE: help with msgplus windows please by ArkaneArkade on 11-04-2007 at 09:39 PM
What do you mean "won't change back to the bigger"? Are you clicking the same button twice, or are you manually resizing the window before calling the function? RE: help with msgplus windows please by waynewilson2 on 11-05-2007 at 01:07 AM
quote: nah, greater than is what its supposed to be, and each way it should resize the window... the way it should be is if (PlusWnd.Height > 63){ will check if the window is taller than 63px, and if it is then it will make it smaller, and otherwise, it returns it to the original size, but it will only call the else, it will not call the main portion...i tried changing the symbol to greater than, and still nothing... RE: help with msgplus windows please by roflmao456 on 11-05-2007 at 01:11 AM
i think you can use Interop for this; you can try using a variable (boolean) instead. RE: help with msgplus windows please by ArkaneArkade on 11-05-2007 at 01:16 AM
OK, my mistake. As I said, I know nothing of windows. RE: help with msgplus windows please by waynewilson2 on 11-05-2007 at 05:36 AM
quote: no...its in a control click function...tehwin and PlusWnd do the same thing RE: help with msgplus windows please by Volv on 11-05-2007 at 05:47 AM
Err, I think the most important problem here is that Pluswnd.Height is not a valid property... RE: help with msgplus windows please by waynewilson2 on 11-05-2007 at 05:48 AM ok, then how would i get the height of the window?? lol RE: help with msgplus windows please by Volv on 11-05-2007 at 06:07 AM
I imagine you would have to use something like (thanks to dt): code: RE: help with msgplus windows please by waynewilson2 on 11-05-2007 at 06:08 AM ok, thnx |