12/08/03 02:06:39.68 C8XwI9Hq
1920x1200のモニタが一つ接続されている環境で、WindowEx.dllを使ってSystem.getMonitorInfo()を実行すると以下のようになります。画面外にあるはずの時にモニタが返ってきたり、画面内にあるはずの時に void になったりするのは、使い方を間違っているからでしょうか。
01:45:12 コンソール : System.getDisplayMonitors().count = (int)1
01:45:38 コンソール : System.getDisplayMonitors()[0].work.w = (int)1920
01:45:40 コンソール : System.getDisplayMonitors()[0].work.h = (int)1147
01:46:00 コンソール : System.getMonitorInfo(false, 1199, 0) = (object)(object 0x05A96508:0x05A96508)
01:46:04 コンソール : System.getMonitorInfo(false, 1200, 0) = (void)
01:46:13 コンソール : System.getMonitorInfo(false, 0, 100000) = (object)(object 0x05A9AFF8:0x05A9AFF8)
01:47:15 コンソール : System.getMonitorInfo(false, -1, 0) = (void)
01:47:21 コンソール : System.getMonitorInfo(false, 0, -1) = (object)(object 0x05A9AFF8:0x05A9AFF8)
>>247
Override.tjsに書くなら、以下でいけるはず。
KAGWindow.goToStart = function() {
System.inform("入った!");
//以下、いろいろな処理
};