I know you don't like *** anymore but why removed the Plugin Maker forum section, I having a problem I know was posted here before, no matter what I do it keeps telling me the table PLUGINNAME is not there no matter what I do, I know this was a problem in the past and I came to read up on it and nope it's all gone.
I know you working on a new tool but it's NO where near ready yet now I can't move forward as I can't even find out why it's not finding my plugins main table.
erm why
- abood1987
- Registered User
- Posts: 69
- Joined: Sat Jun 15, 2013 3:03 pm
- Location: Egypt مصر أم الدنيا
- Contact:
Now I know a lot in a-m-s p-l-u-g-i-n m-a-k-e-r
But I need to know how can create and use a the structure such as LOGFONT structure and any structure I did not see an example to answer this question . I do not see Memory.size to get structure size ..... too much is still vague
Also, the OnLBtnDown event does not work and this is a bug.
The biggest problem is the cessation of support for the program and the closure of its forum ..... It was possible to continue the forum for discussion and display models among users of the program at least
But I need to know how can create and use a the structure such as LOGFONT structure and any structure I did not see an example to answer this question . I do not see Memory.size to get structure size ..... too much is still vague
Also, the OnLBtnDown event does not work and this is a bug.
The biggest problem is the cessation of support for the program and the closure of its forum ..... It was possible to continue the forum for discussion and display models among users of the program at least
The reason was because of the respect to other software
So while you roll your own concept ,you sould not enter other software's base
This sounds like selling Mac in Microsoft store
But i no longer respect the company of said software ,therefore i will open APM forum until the stable release of SDStudio
So while you roll your own concept ,you sould not enter other software's base
This sounds like selling Mac in Microsoft store
But i no longer respect the company of said software ,therefore i will open APM forum until the stable release of SDStudio
- abood1987
- Registered User
- Posts: 69
- Joined: Sat Jun 15, 2013 3:03 pm
- Location: Egypt مصر أم الدنيا
- Contact:
There is no doubt that the program a-m-s p-l-u-g-i-n m-a-k-e-r very good "It was only for someone who was very proficient in programming" but the appearance of the forum is not enough without discussing some things with you ... If you want to answer my question in the previous participation this will be complete for what is unclear in this program "used and create sturactures " Please just explain this.......Or I think there is no need for the emergence of the forum, many did not find a complete explanation for it since its manufacture so far ..... Do you donate too little time to explain this?I think you're going to give us that point
You are a professional programmer, distinguished and ambitious ..... This is a fact and not a compliment to you.
You are a professional programmer, distinguished and ambitious ..... This is a fact and not a compliment to you.
Serkan wrote: ↑Fri Jul 06, 2018 8:00 pm The reason was because of the respect to other software
So while you roll your own concept ,you sould not enter other software's base
This sounds like selling Mac in Microsoft store
But i no longer respect the company of said software ,therefore i will open APM forum until the stable release of SDStudio
Hello I want to take my doubts about this OnLBtnDown event?
it doesn't work Do you have an example showing the functionality of OnLBtnDown?
I thank you for your work
Can you write your messages as reply to thread , reporting is used to report an inappropriate post
According to my latest reponse to your question about that mouse event
the purpose of the proxy object (IRPluginObject class ) is used to pass events to your scripts
Therefore plugin framework does not generate that mouse events itself
It only forwards them , and if an event does not work this is due to host application
Here is the relative part of the source code , as you can see APM only forwards the events
That button event never gets triggered by host application
According to my latest reponse to your question about that mouse event
the purpose of the proxy object (IRPluginObject class ) is used to pass events to your scripts
Therefore plugin framework does not generate that mouse events itself
It only forwards them , and if an event does not work this is due to host application
Here is the relative part of the source code , as you can see APM only forwards the events
That button event never gets triggered by host application
Code: Select all
BOOL PIRPluginObject::IsFunction(char *szFunction)
{
if (m_pLuaEnv)
{
lua_getglobal(m_pLuaEnv,szFunction);
if(lua_isfunction(m_pLuaEnv,-1))
{
return TRUE;
}
else
{
lua_remove(m_pLuaEnv,-1);
return FALSE;
}
}
return FALSE;
}
void PIRPluginObject::OnMouseEvent(HWND hWndParent,POINT ptMousePos,RECT rcObRect,char * szEvent)
{
if(IsFunction(szEvent))
{
lua_pushnumber(m_pLuaEnv,(LPARAM)this);
lua_pushnumber(m_pLuaEnv,(LPARAM)hWndParent);
lua_pushnumber(m_pLuaEnv,(LPARAM)ptMousePos.x);
lua_pushnumber(m_pLuaEnv,(LPARAM)ptMousePos.y);
lua_pushnumber(m_pLuaEnv,(LPARAM)rcObRect.left);
lua_pushnumber(m_pLuaEnv,(LPARAM)rcObRect.top);
lua_pushnumber(m_pLuaEnv,(LPARAM)rcObRect.right-rcObRect.left);
lua_pushnumber(m_pLuaEnv,(LPARAM)rcObRect.bottom-rcObRect.top);
callfunc(m_pLuaEnv,8,0);
}
}
void PIRPluginObject::OnMouseOver(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnMouseOver");
}
void PIRPluginObject::OnMouseLeave(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnMouseLeave");
}
void PIRPluginObject::OnLBtnDown(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnLBtnDown");
}
void PIRPluginObject::OnLBtnUp(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnLBtnUp");
}
void PIRPluginObject::OnLBtnDoubleClick(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnLBtnDoubleClick");
}
void PIRPluginObject::OnRBtnDown(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnRBtnDown");
}
void PIRPluginObject::OnRBtnUp(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnRBtnUp");
}
void PIRPluginObject::OnRBtnDoubleClick(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnRBtnDoubleClick");
}