 hendra@ngms
		
			hendra@ngms
		
		
		
		
		
		
		
		
	
			06-20-2012 02:16 PM
I would like to load a couple different panels upon application launch, and send them to different monitors attached to my target computer. I see functions to determine how many monitors are attached, and what they are numbered. But I don't see any function calles or attributes that can direct a panel to the second monitor.
Is there a way? Has anyone done this?
06-20-2012 04:13 PM
You don't explicitly direct a panel to a particular monitor. Instead, what you do is position a panel at a given coordinate position. That coordinate position will determine which monitor, or monitors, will display the panel.
If you have your monitor ID, you have to first call GetMonitorAttribute to obtain the top/left/width/height of that monitor. That way you'll know which coordinate position to assign to your panel, so that it's displayed in this monitor.
Luis
06-20-2012 04:17 PM
After a little more digging, I was beginning to suspect what you describe. You have given me the formula, which I will try as soon as I can hook up the second monitor here.
Thanks... gary
 gdargaud
		
			gdargaud
		
		
		
		
		
		
		
		
	
			06-22-2012 08:31 AM
Hello all,
sorry to barge in on this thread, but I have problems with the NI forums:
- the nntp server is no longer accessible (natinst.public.labwindows-svi.general, usually my prefered method)
- the [New message] button on the board doesn't work: it opens a page with [Step 1: ask your question], [Step 2...], [Step 3...] and a search box and that's about it. Tested both in FF and Chrome on Linux.
So, since I couldn't find a way to start a new thread, my just going off topic on this one.
I also had a legitimate CVI question, but that'll wait.