- This topic has 24 replies, 7 voices, and was last updated 14 years ago by Admin.
-
AuthorPosts
-
April 3, 2009 at 2:10 am #187868StringMember
Method, if you ask the same question in two or more threads… Its likely all your questions will be ignored.
Autopilots example found here works fine.
Download a fresh version, and find this in the code.Private Function getSubForm
Once you have found it, change it from Private to Public.
Works with all pal versions >9.3April 3, 2009 at 3:02 am #187867methodMemberMany thanks string for your reply. I made the change but still get this error:
compile error:
Expected function or variable
pointing at FindSubWindsWithwHnd
April 3, 2009 at 3:24 am #187866StringMemberFind the following line of code, and comment it out or remove it.
lRet = FindSubWindsWithwHnd
April 3, 2009 at 3:31 am #187865methodMemberNo error but doesn’t send any text to the room !!
April 3, 2009 at 3:52 am #187864StringMemberFind this function
Private Function SendTextHnd() As Long
Replace the code inside of that function with this code
Dim iHnd As Long
iHnd = getPalSubForm(WindowClass, Combo1.Text, SplitterClass, SplitterIndex)
SendTextHnd = ChatHnd(iHnd, SendTxtIndex)
In your module GetSubFormHnd, add this function to it.
Public Function ChatHnd(ByVal hwnd As Long, ByVal lParam As Long) As Long
Dim retVal As Long
mTargetSubClass = "RichEdit20A"
mTargetSubClassIndex = lParam
IndexCount = 1
retVal = EnumChildWindows(hwnd, AddressOf EnumChildProc, lParam)
ChatHnd = mSubFormHnd
End FunctionApril 3, 2009 at 4:02 am #187863methodMemberNow this error:
compile error:
sub or function not defined
pointing at :ChatHnd
April 3, 2009 at 4:06 am #187862StringMemberI edited my post above. Add the ChatHnd function to your module
April 4, 2009 at 2:45 am #187861StringMemberyou’re welcome…
April 4, 2009 at 11:18 am #187860methodMembermany thanks string it worked well.furthermore how to read lastline in 9.6?
February 7, 2010 at 7:31 pm #187859StringMemberFor those interested, in Paltalk 9.9 beta the splitter window has been renamed.
9.8 and below – WTL_SplitterWindow
9.9 beta – SplitterWindowEx -
AuthorPosts
Related
- You must be logged in to reply to this topic.