Re: How to get the Window ref of the 4D 64 bit app window

2019-02-03 Thread Keisuke Miyako via 4D_Tech
Hello, I tested with 64-bit 17.0 (230889) and 17R3 (232314) Windows 10 1803 using the sample icon (owl) included with the plugin. in both cases, the MDI icon did successfully change. so it could be... incompatible with Windows 1809 incompatible with your .ico file (if you did not try with the

Re: How to get the Window ref of the 4D 64 bit app window

2019-02-01 Thread Peter Hay via 4D_Tech
Keith, that doesn't seem to work on Windows unfortunately. Miyako, Thanks for the link to your 2 plugins. I should have known to check your GitHub account. ;-) I tried both of your plugins. Set Window Title for the MDI window works perfectly, but I couldn't get the icon to be set correctly.

Re: How to get the Window ref of the 4D 64 bit app window

2019-01-31 Thread Keisuke Miyako via 4D_Tech
my understanding is that in the old days, the window ref (int) in the plugin SDK used to be just a type case of carbon windowRef (a C pointer). in 64-bit you can't just cast an address (64-bit) to int, the value would overflow. so the references are now mapped internally to real pointers

Re: How to get the Window ref of the 4D 64 bit app window

2019-01-31 Thread Keith Culotta via 4D_Tech
Doing WINDOW LIST($aWin) in On Startup will return the window's ref in the array (on the Mac anyway). Keith - CDI > On Jan 31, 2019, at 4:40 PM, Peter Hay via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > I'm trying to get the Window reference of 4D's application window so that I > can