AndyK
February 28th, 2000, 03:37 PM
How can I get GetWindowPlacement to work
Thanks
Thanks
|
Click to See Complete Forum and Search --> : can anyone help? AndyK February 28th, 2000, 03:37 PM How can I get GetWindowPlacement to work Thanks Chris Eastwood February 28th, 2000, 03:56 PM What problems are you having with it ? I've got some code that uses this (somewhere), let me know the problem and I'll get back to you. Chris Eastwood CodeGuru - the website for developers http://codeguru.developer.com/vb AndyK February 28th, 2000, 04:23 PM i really don't get the syntax contruction of it, do you have any good examples on this API? Chris Eastwood February 28th, 2000, 04:37 PM I can't find them at the moment - you'll have to wait till I get into work tomorrow (I should have some code there - and my MSDN disks). You are remembering to set the length of the WINDOWPLACEMENT structure (ie. wp.size = len(wp) - or whatever it's called). In fact, I saw a VB site today that had an example on how to use this API call (can't remember off the top of my head what site it was though :( Chris Eastwood CodeGuru - the website for developers http://codeguru.developer.com/vb AndyK February 28th, 2000, 04:41 PM yeah you also need POINTAPI and WINDOWPLACEMENT and RECT, so it's a lot of code for one API, but I'm still confused, I'll wait until you get to work, hopefully you'll find something about this API, thanks. Chris Eastwood February 28th, 2000, 04:47 PM There's also a 'flags' property on WINDOWPLACEMENT that needs filling - like I said, I haven't got access to the MSDN from home (well, only the online version, and I'm not wading through that now :) You could always just try playing with it for now, and let us all know how you get on (I'm sure you won't kill your computer ;-) Chris Eastwood CodeGuru - the website for developers http://codeguru.developer.com/vb codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |