VB开发双屏输出问题
想在一个主机,在两个显示器输出不同内容,利用VB开发实现.
问题是winAPI的不多.我知道的API函数不太会使用.
1.HMONITOR MonitorFromPoint(POINT pt,DWORD dwFlags)
2.HMONITOR MonitorFromRect(LPCRECT lprc,DWORD dwFlags)
3.HMONITOR MonitorFromWindow(HWND hwnd,DWORD dwFlags)
4.BOOL GetMonitorInfo(HMONITOR hMonitor,LPMONITORINFO lpmi)
5.BOOL EnumDisplayMonitors(HDC hdc,LPCRECT lprcClip,MONITORENUMPROC lpfnEnum,LPARAM dwData)
6.BOOL CALLBACK MonitorEnumProc(HMONITOR hmonitor,HDC hdcMonitor,LPRC lprcMonitor, DWORD dwData)
7.EnumDisplayDevices(LPVOID lpReserved,int iDeviceNum,DISPLAY_DEVICE×pDisplayDevice,DWORD dwFlags)
望大家指定一下.