Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wait for Monitor

Status
Not open for further replies.

Glenn9999

Programmer
Jun 19, 2004
2,311
US
Is there a function/way of some kind to be able to tell when a computer monitor has completed a draw to its surface? For example, if I wanted to determine the response time of it?
 
are you refering to Vsync or do you mean when the graphic card has finished a drawing order?

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
When the graphic card has finished the draw order and the picture/whatever is up on the screen. Say I do the order to draw a bitmap to the computer in full screen, the code to prepare it is done, and the code is issued to draw it. I want to know if/how to know when the drawing operation is completed.
 
I got the chance to look into it. VREFRESH in GetDeviceCaps gets me what I want to know. The problem is it's for NT/2000/XP only...how would I do it within 9X?

Dilbert is not a fictional cartoon. It is a documentary.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top