Hai
Today i noticed My screen capture software showing the wrong window rect after if i play the Project IGI game and close it.
but all other times, works perfect. whats the problem?
http://img40.imageshack.us/img40/2629/screenshotvki.png
Printable View
Hai
Today i noticed My screen capture software showing the wrong window rect after if i play the Project IGI game and close it.
but all other times, works perfect. whats the problem?
http://img40.imageshack.us/img40/2629/screenshotvki.png
Interesting. Does Spy++ also offset the rect if you do highlight window?
I don't know what Project IGI game is, but sounds like it may not be resetting things that way they should be? Of course maybe your screen capture app is faulty?
Out of curiosity. If you create a sample app that has only this code in it, does it position itself at 0,0 after the game closes and after you run the sample app?
Almost sounds as if the screen coords are offset, something like SetViewportOrgEx API would do.Code:Private Sub Form_Load()
Me.Move 0, 0
End Sub
Is there a chance the game forces a particular screen resolution or mode that is not reset on quit? I am just guessing here....
Fish
Sorry, I have never played that game :). What resolution does IGI use? Maybe it is because you revert from a low resolution to a high resolution... just a guess...
Edit: I see fish4fun has already expressed his thoughts...
folks, yes, its a problem with my project only.
ill find the problem.
spy ++ and all shows correct :p
btw, the IGI Game uses 640x480x32 resolution
:sick:
Have added you :D
BTW how did you sort the above problem?
Then Why did you mark the thread resolved?Quote:
btw, still not sorted.