Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Device context of monitor
#2
I am not familiar with monitor display contexts, cannot help. Look in "HMONITOR and the Device Context" topic in MSDN.

This is how to call EnumDisplayMonitors. Not tested.
Macro Macro1267
Code:
Copy      Help
int dc=GetDC(0)
EnumDisplayMonitors dc 0 &EDM_Proc 0
ReleaseDC(0 dc)
Function EDM_Proc
Code:
Copy      Help
;/
function# hMonitor hdcMonitor RECT*lprcMonitor dwData

out hdcMonitor

ret 1


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)