Page 1 of 2

Object plugin

Posted: Sat Dec 07, 2019 1:18 pm
by DriPro
Hello friends I am developing an Object plugin with Ams Plugin Maker, please I need help as I do to
embed an object inside my object?
WindowHandle

Re: Object plugin

Posted: Sun Dec 08, 2019 12:25 pm
by abood1987
if it is a Graphics Plugin it is no way
if it is a Window Plugin it is yes you Can .

Re: Object plugin

Posted: Mon Dec 09, 2019 2:13 am
by DriPro
abood1987 What would it be like with Window Plugin do you have any examples? for me to help with this friend

Re: Object plugin

Posted: Sat Jan 18, 2020 9:26 pm
by Serkan
Your question is not clear ,
do you want to embed another control to your object plugin ?
This is possible ,but problems might appear
since the host application owns the control changing parent will cause problems

steps are like below
create your object window
get handle of the control you want to host
use __Window.SetParent(0,0); to take ownership ow the control

But again ,most of A-M-S objects have their parent windows (child of main) WindowHandle property points to the inner control
Therefore changin parent will cause its parent in main window ,its events etc. will not work

Re: Object plugin

Posted: Sun Feb 02, 2020 6:06 pm
by DriPro
OK Serkan Thanks for the reply

Re: Object plugin

Posted: Tue May 19, 2020 1:41 pm
by DriPro
Hello friends i need help on this function
__Window.GetWindowRect
if someone has an idea of how to use it, I tried it, I didn’t succeed, the program doesn’t talk much how to use it if someone has an idea

Re: Object plugin

Posted: Tue May 19, 2020 3:22 pm
by Serkan
Actually it is documented in the help file :idea:
getwndrect.png
Anything else you want to know ?

Re: Object plugin

Posted: Tue May 19, 2020 4:25 pm
by DriPro
What kind of help do you do by showing an image? this is umilhate you do a program say nothing about him do you think we have a crystal ball to guess what he does? in the application documentation it doesn’t show anything, it doesn’t have an example, it would be nice to have more details about it, but that's okay, you don’t want to help, it’s not the first time

Re: Object plugin

Posted: Tue May 19, 2020 4:27 pm
by DriPro
And I already did everything he returns an error

Re: Object plugin

Posted: Tue May 19, 2020 6:17 pm
by Serkan
Well , first of all , i clearly stated following in the product page with all letters capital
THIS IS AN ABANDONED PRODUCT AND THEREFORE THERE WILL NOT BE ANY UPDATES AND OR OFFICIAL SUPPORT FOR THIS PRODUCT.
But still trying to help within my very limited time.
DriPro wrote: Tue May 19, 2020 1:41 pm i need help on this function
if someone has an idea of how to use it, I tried it, I didn’t succeed,


Despite your question , it makes no sense therefore showing a manual page is perfect answer for a question like i need help on this function
In addition It does not work ,It did not succeed make no sense as well.

You should first learn how to ask technical questions, i know english is not natural language for most of us.
But you could show the code you tried , so i would see that you know how to use that function.
And you could write the result of failure , for example
I used this function and it returns incorrect values , it returns nil ,it crashes the application etc..

Look at this page , viewtopic.php?f=8&t=553
As you can see i am helping people when they ask proper questions
DriPro wrote: Tue May 19, 2020 4:25 pm do you think we have a crystal ball to guess what he does?

I do not have that thing too , so i can not guess what is your exact problem unless you explain it, right?

Before attacking me you should look at yourself first.