I want to save my program's apperance settings, therefor i call GetWindowPlacement (specifying the value of WINDOWPLACEMENT in iLength), but the function always returns zero.. = error.. without updating the structure, of course.. could the problem be the fact that my window is not a normal window, but a dialog box? (DialogBoxParam)
if GetWindowPlacement is no good in my case, what's the alternative way that i can use to determine the position of the window AND weather it's minimized or in it's normal state..?
Cheers..
GetWindowPlacement should work fine on dialog boxes. See what the error is with GetLastError.