Get window width... - 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: Get window width... (/showthread.php?tid=63988) Get window width... by deAd on 07-25-2006 at 07:00 PM How would I go about getting the width in pixels of a window? I've tried using GetWindowRect but I can't get it right... RE: Get window width... by Eljay on 07-25-2006 at 07:17 PM
code: RE: Get window width... by deAd on 07-25-2006 at 07:30 PM Oh...I didn't know which one was the right I guess Which ones are the Top/Bottom? RE: Get window width... by Eljay on 07-25-2006 at 07:33 PM
quote: source: MSDN so .ReadDWORD(4) = top and ReadDWORD(12) = bottom RE: Get window width... by deAd on 07-25-2006 at 07:46 PM I would've guessed that it went 1,2,3,4 (or 0,1,2,3) RE: Get window width... by matty on 07-25-2006 at 08:13 PM
quote:Before you can use Datablocs you should understand the amount of memory that needs to be allocated for each variable type. Too lazy to type it all out so here is what Choli posted in the beta forum. quote: RE: Get window width... by deAd on 07-25-2006 at 09:33 PM Oh...I've used datablocs before but I've never seen this. Thanks |