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
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.
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
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
Hi,
I'm trying to get the Window reference of 4D's application window so that I
can put a custom icon on it, and change the window title.
This is for 64 bit 4D v17R3 on MS Windows.
I've been doing this for years with the excellent Win32API
using gui_GetWindowEx (""). This works fine with 32
5 matches
Mail list logo