Object plugin

General discussion forum for Ams Plugin Maker
User avatar
DriPro
Registered User
Posts: 20
Joined: Mon Sep 03, 2018 8:12 pm

Object plugin

Post 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
User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 »

if it is a Graphics Plugin it is no way
if it is a Window Plugin it is yes you Can .
User avatar
DriPro
Registered User
Posts: 20
Joined: Mon Sep 03, 2018 8:12 pm

Post by DriPro »

abood1987 What would it be like with Window Plugin do you have any examples? for me to help with this friend
User avatar
Serkan
Developer
Developer
Posts: 214
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post 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
User avatar
DriPro
Registered User
Posts: 20
Joined: Mon Sep 03, 2018 8:12 pm

Post by DriPro »

OK Serkan Thanks for the reply
User avatar
DriPro
Registered User
Posts: 20
Joined: Mon Sep 03, 2018 8:12 pm

Post 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
User avatar
Serkan
Developer
Developer
Posts: 214
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan »

Actually it is documented in the help file :idea:
getwndrect.png
Anything else you want to know ?
User avatar
DriPro
Registered User
Posts: 20
Joined: Mon Sep 03, 2018 8:12 pm

Post 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
User avatar
DriPro
Registered User
Posts: 20
Joined: Mon Sep 03, 2018 8:12 pm

Post by DriPro »

And I already did everything he returns an error
User avatar
Serkan
Developer
Developer
Posts: 214
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post 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.
Post Reply