Ron Hall
2004-08-23 10:42:16 UTC
I'm stuck on what I would assume is a really easy thing to do. I have
created a modal property sheet to take advantage of the tabs and multiple
dialogs in a single window. However I want to position the dialog box at
the same place on the screen that the user placed it from before and I don't
seam to be able to do this without going to some ridiculous lengths. I have
tried using SetWindowPos from within the property sheet callback function
but with no luck. I have modified the template setting the x and y position
from within the callback function. It seams that I might have to put code
into each of the dialogs and use the window words so I can position it and
make it visible, this just seams way toooo hard for such a simple thing so I
believe I must be missing something, I've already spent way tooo much time
on time. Can someone help?
TIA
Ron
created a modal property sheet to take advantage of the tabs and multiple
dialogs in a single window. However I want to position the dialog box at
the same place on the screen that the user placed it from before and I don't
seam to be able to do this without going to some ridiculous lengths. I have
tried using SetWindowPos from within the property sheet callback function
but with no luck. I have modified the template setting the x and y position
from within the callback function. It seams that I might have to put code
into each of the dialogs and use the window words so I can position it and
make it visible, this just seams way toooo hard for such a simple thing so I
believe I must be missing something, I've already spent way tooo much time
on time. Can someone help?
TIA
Ron