and 2007-10-16 14:10
Hi,
I'm currently working on RealBasic and was wondering if it is possible to control UltraMon via this IDE. I am currently programming on a Mac to deploy a Window's App. I am sort of a new user to RB and I have never worked with VB before, so that is why I'm stuck.
The only thing I wanna control via RB is to ignore the second monitor and nothing else.
Thanks
and
|
Christian Studer 2007-10-17 09:21
The ignored monitor setting can be changed via UltraMon COM objects, if RealBasic supports COM this should work fine.
Please note that ignoring the monitor affects only UltraMon, Windows and other applications will still see the monitor.
Christian Studer - www.realtimesoft.com
|
and 2007-10-17 18:11
I actually added UltraMon´s COM objects to RealBasic.
I have the following code:
Dim sys As UltraMonSystem
sys = New UltraMonSystem
I tested out the SetIgnoredMonitors
sys.SetIgnoredMonitors 2, true
To try to ignore the second monitor but it did not work. I later tried:
sys.SecondaryDisable
and when this function the secondary displays were actually disabled.
I don´t know if I am missing something to make the setignoredmonitors function work.
It is probably something I am missing since I don´t really understand much about the COM objects in RealBasic
thank you
|
Christian Studer 2007-10-18 08:31
SetIgnoredMonitors will only tell UltraMon to ignore the specified monitors (they will no longer be enumerated, etc), but the monitors won't get disabled.
Christian Studer - www.realtimesoft.com
|