|
-
Aug 22nd, 2009, 10:45 AM
#1
[RESOLVED] Window Rect issue
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?
-
Aug 22nd, 2009, 11:08 AM
#2
Re: Window Rect issue
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?
Code:
Private Sub Form_Load()
Me.Move 0, 0
End Sub
Almost sounds as if the screen coords are offset, something like SetViewportOrgEx API would do.
-
Aug 22nd, 2009, 11:08 AM
#3
Junior Member
Re: Window Rect issue
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
-
Aug 22nd, 2009, 11:16 AM
#4
Re: Window Rect issue
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...
Last edited by Siddharth Rout; Aug 22nd, 2009 at 11:25 AM.
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Aug 22nd, 2009, 12:46 PM
#5
Re: Window Rect issue
folks, yes, its a problem with my project only.
ill find the problem.
spy ++ and all shows correct 
btw, the IGI Game uses 640x480x32 resolution
Last edited by Fazi; Aug 22nd, 2009 at 12:50 PM.
-
Aug 22nd, 2009, 12:50 PM
#6
Re: Window Rect issue
 Originally Posted by koolsid
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...
hey man sidi, you took my facebook id, but not yet added
-
Aug 22nd, 2009, 01:02 PM
#7
Re: [RESOLVED] Window Rect issue
Have added you 
BTW how did you sort the above problem?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Aug 22nd, 2009, 01:07 PM
#8
Re: [RESOLVED] Window Rect issue
 Originally Posted by koolsid
Have added you
BTW how did you sort the above problem?
tx men, ill accept it.
btw, still not sorted. feel bit sleepy now since almost 12 
ill check in the moring and ill post the result
-
Aug 22nd, 2009, 01:09 PM
#9
Re: [RESOLVED] Window Rect issue
Then Why did you mark the thread resolved?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Aug 22nd, 2009, 01:13 PM
#10
Re: [RESOLVED] Window Rect issue
 Originally Posted by koolsid
Then Why did you mark the thread resolved?
yes men, i just put resolved since its clear the problem is with my coding only 
i am sure ill find it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|