Hi Sergi
When we switched to the ribbon interface with the 64-bit versions of MapInfo Pro, there were a few things that we weren’t able to support in the same way as previously, unfortunately. In your case it was this statement: Set Next Document Parent
To embed a window into a Document control, you need to use a different approach now.
I have created a function that can help you do this: WINCreateForDocumentControl
You can find it as part of the MapBasic Libraries on Github.
It is part of the WINDOWLib.
It’s quite easy to use as it takes two parameters:
Hope this helps
Peter
From: mapi...@googlegroups.com <mapi...@googlegroups.com>
On Behalf Of Sergi Gàmiz Ribelles
Sent: Wednesday, 28 September 2022 23.49
To: MapInfo-L <mapi...@googlegroups.com>
Subject: [MI-L] DocumentWindow control not working in 64-bit version
This message originated Externally. Use proper judgement and caution with attachments, links, or responses. |
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mapinfo-l+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mapinfo-l/cae6bff5-4f3f-4709-ac44-19d2cd70a1acn%40googlegroups.com.
Hi
I’d say maybe 12.5 or even older but I haven’t tried.
My initial thought was some 64-bit version.
But this thread reminded me that the Declare Method existed prior to 64-bit.
If you copy the method into your own module, note that it uses other functions in the WindowLib module.
If you want to include the WindowLib module in the your project, note that it uses other modules too.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/92bf8f3e-f33d-4c0f-93ac-f06edfe8a99bn%40googlegroups.com.