LOULOU Posted December 27, 2005 Share Posted December 27, 2005 (edited) IndexOf allow to return the adress in memory of a function Is anyone Know how to implement this visual basic Function in autoit ? Best regards Edited December 27, 2005 by LOULOU Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 27, 2005 Moderators Share Posted December 27, 2005 IndexOf allow to return the adress in memory of a functionIs anyone Know how to implement this visual basic Function in autoit ?Best regardsDo you have the VB Function to post, maybe someone can translate it to AutoIt for you. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Valik Posted December 27, 2005 Share Posted December 27, 2005 It's a built in VB operator/function and is not support in AutoIt. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 27, 2005 Moderators Share Posted December 27, 2005 Ahh, Thus my NULL knowledge of VB... Thanks Valik. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
LOULOU Posted December 27, 2005 Author Share Posted December 27, 2005 Ahh, Thus my NULL knowledge of VB... Thanks Valik.Here is the code in VB Func WindowProc(ByVal hwnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As LongSelect Case uMsgCase $WM_SYSCOMMANDSelect Case (wParam And &HFFF0&)Case $SC_USERMsgBox "Vous avez appuyer sur le menu", vbInformationCase ElseWindowProc = CallWindowProc(mOldProc, hwnd, uMsg, wParam, lParam)EndSelectCase ElseWindowProc = CallWindowProc(mOldProc, hwnd, uMsg, wParam, lParam)EndSelectEndFuncAppendMenu GetSystemMenu(hwnd, 0), 0, SC_USER, "*Nouveau*"mOldProc = GetWindowLong(hwnd, GWL_WNDPROC)SetWindowLong hwnd, GWL_WNDPROC, AddressOf WindowProc Link to comment Share on other sites More sharing options...
LOULOU Posted December 27, 2005 Author Share Posted December 27, 2005 It's a built in VB operator/function and is not support in AutoIt.Did you know how to implement it ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now