April 22nd, 1999, 03:52 PM
I'd like to get the dialog position in OnOK() so that next time I can set it at its last position (using SetWindPos). There is no function GetWinPos() so how do we do it? Thanks.
|
Click to See Complete Forum and Search --> : Get & Set Dialog Position April 22nd, 1999, 03:52 PM I'd like to get the dialog position in OnOK() so that next time I can set it at its last position (using SetWindPos). There is no function GetWinPos() so how do we do it? Thanks. dscott April 22nd, 1999, 04:29 PM Check out GetWndPlacement() or GetClientRect() or GetWindowRect()- depending on which one you use you may or may not have to convert to the client coordinates of the parent window. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |