Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6468 > unrolled thread
| Started by | Kuno Egger <kuno@retailsoftware.com> |
|---|---|
| First post | 2014-01-08 15:20 -0800 |
| Last post | 2014-03-25 14:26 -0700 |
| Articles | 6 — 3 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Help with second monitor for customer display Kuno Egger <kuno@retailsoftware.com> - 2014-01-08 15:20 -0800
Re: Help with second monitor for customer display Mathias <mathias.hakansson@consultec.se> - 2014-01-08 22:06 -0800
Re: Help with second monitor for customer display "Jamal" <someone@example.com> - 2014-01-09 15:13 -0500
Re: Help with second monitor for customer display Kuno Egger <kuno@retailsoftware.com> - 2014-01-11 19:12 -0800
Re: Help with second monitor for customer display Mathias <mathias.hakansson@consultec.se> - 2014-01-13 00:34 -0800
Re: Help with second monitor for customer display Kuno Egger <kuno@retailsoftware.com> - 2014-03-25 14:26 -0700
| From | Kuno Egger <kuno@retailsoftware.com> |
|---|---|
| Date | 2014-01-08 15:20 -0800 |
| Subject | Help with second monitor for customer display |
| Message-ID | <a8cabe88-be00-4d74-9836-bc3bd17a3f00@googlegroups.com> |
Hello from balmy British Columbia, I am working on a point of sale application and need to drive a second monitor as a customer display. It will list the items & totals on the right side of the screen while showing store promotional material on left. I am assuming that I will need to write a separate app to which I can feed string data as the sale proceeds. I just don't know how to make it use only the second monitor while leaving the checkout clerk's monitor alone. Any advice would be greatly appreciated. Kuno
[toc] | [next] | [standalone]
| From | Mathias <mathias.hakansson@consultec.se> |
|---|---|
| Date | 2014-01-08 22:06 -0800 |
| Message-ID | <bdac17e5-7db1-40dc-a3bd-622ae7d04b71@googlegroups.com> |
| In reply to | #6468 |
You can try having two ShellWindows in the same app. Never tried this, but who knows... One simple solution to your window position problem is to let the user move the windows into their desired positions and the always save window positions and maximized property to registry or ini file when closing and restoring them when starting your application again. This would also make clever window settings on large monitors possible. /Mathias Den torsdagen den 9:e januari 2014 kl. 00:20:08 UTC+1 skrev Kuno Egger: > Hello from balmy British Columbia, > > > > I am working on a point of sale application and need to drive a second monitor as a customer display. It will list the items & totals on the right side of the screen while showing store promotional material on left. I am assuming that I will need to write a separate app to which I can feed string data as the sale proceeds. I just don't know how to make it use only the second monitor while leaving the checkout clerk's monitor alone. > > > > Any advice would be greatly appreciated. > > > > Kuno
[toc] | [prev] | [next] | [standalone]
| From | "Jamal" <someone@example.com> |
|---|---|
| Date | 2014-01-09 15:13 -0500 |
| Message-ID | <lamvtf$hbj$1@speranza.aioe.org> |
| In reply to | #6468 |
May be can select "Extend your displays" from the Display's "Multiple displays" drop down after connecting the 2 monitors to 2 ports, and drag and drop promotional window into the 2nd monitor. If that does not work, a 2nd promo app is best. Jamal "Kuno Egger" wrote in message news:a8cabe88-be00-4d74-9836-bc3bd17a3f00@googlegroups.com... Hello from balmy British Columbia, I am working on a point of sale application and need to drive a second monitor as a customer display. It will list the items & totals on the right side of the screen while showing store promotional material on left. I am assuming that I will need to write a separate app to which I can feed string data as the sale proceeds. I just don't know how to make it use only the second monitor while leaving the checkout clerk's monitor alone. Any advice would be greatly appreciated. Kuno
[toc] | [prev] | [next] | [standalone]
| From | Kuno Egger <kuno@retailsoftware.com> |
|---|---|
| Date | 2014-01-11 19:12 -0800 |
| Message-ID | <074569dc-b3ff-49d3-8847-f32c9864c679@googlegroups.com> |
| In reply to | #6468 |
Thanks guys. I guess I was hoping for some way to tell an application to use monitor 1 or monitor 2. I wonder how other languages do it because I see it at the grocery store checkout. Kuno
[toc] | [prev] | [next] | [standalone]
| From | Mathias <mathias.hakansson@consultec.se> |
|---|---|
| Date | 2014-01-13 00:34 -0800 |
| Message-ID | <70573842-aa1e-4bb1-a092-9f2929eef980@googlegroups.com> |
| In reply to | #6489 |
There are win32 API-fiunktions that lets you manage this stuff. I have never used them myself, but they are described here; http://msdn.microsoft.com/en-us/library/windows/desktop/dd183554(v=vs.85).aspx I suggest you start with EnumDisplayDevices Retrieves information about the display devices in a system. EnumDisplaySettings Retrieves information about one of the graphics modes for a display device. EnumDisplaySettingsEx Retrieves information about one of the graphics modes for a display device. /Mathias Den söndagen den 12:e januari 2014 kl. 04:12:04 UTC+1 skrev Kuno Egger: > Thanks guys. I guess I was hoping for some way to tell an application to use monitor 1 or monitor 2. I wonder how other languages do it because I see it at the grocery store checkout. > > > > Kuno
[toc] | [prev] | [next] | [standalone]
| From | Kuno Egger <kuno@retailsoftware.com> |
|---|---|
| Date | 2014-03-25 14:26 -0700 |
| Message-ID | <0f73efd1-d4bc-4570-8e15-640cd6d9ffe9@googlegroups.com> |
| In reply to | #6494 |
Here is what seems to work:
In the Windows Control Panel set Multiple Displays to Extend These Displays.
In your application use API functions to Get and Set window position in the appropriate postinit / close method:
LOCAL stPlace IS _winWINDOWPLACEMENT
GetWindowPlacement(SELF:Handle(),@stPlace)
SetWindowPlacement(SELF:Handle(),@stPlace)
A one-time setup is needed to establish where you want the application to run:
1. Open the application.
2. Re-size the window so that it is not maximized or minimized.
3. Move the window to the monitor you want it to open on by default.
4. Close the application. Do not re-size prior to closing.
5. Open the application - it should open on the monitor you moved it to.
6. Maximize the window.
The application will now open on this monitor by default. If you want to change it to another monitor, just follow steps 1-6 again.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web