- This topic has 2 replies, 2 voices, and was last updated 14 years ago by Chike.
-
AuthorPosts
-
May 2, 2010 at 9:57 pm #187224methodMember
hi all i want to click the link “Copy room URL to clipboard” above the paltalk room that has class name “CTransparentTextOut” and i already have its handle. i tried the following but the clipboard was empty !! could you guys tell me what i am doing wrong? Thanks
Call SendMessageByString(hwnd, WM_KEYDOWN, VK_SPACE, 0&)
May 3, 2010 at 11:39 pm #187226ChikeMemberSince it stores the text internaly and not the normal way windows does you probably can’t.
May 3, 2010 at 11:44 pm #187225methodMemberchike thanks for your reply. Is that a button ? once i be able to click i can read the clipboard to get the url but only problem is that i can’t click it using above method !!do you mean the button has no caption that is why we can’t but it has handle and calass name … Hope i be able some how be able to click it ..
this is the way i get handle of it:
Dim dlggroupchatwindowclass As Long, wtlsplitterwindow As Long, cwndvideobar As Long
Dim cpngimagectrl As Long, ctransparenttextout As Long
dlggroupchatwindowclass = FindWindow("dlggroupchat window class", vbNullString)
wtlsplitterwindow = FindWindowEx(dlggroupchatwindowclass, 0&, "wtl_splitterwindow", vbNullString)
wtlsplitterwindow = FindWindowEx(wtlsplitterwindow, 0&, "wtl_splitterwindow", vbNullString)
cwndvideobar = FindWindowEx(wtlsplitterwindow, 0&, "cwndvideobar", vbNullString)
cpngimagectrl = FindWindowEx(cwndvideobar, 0&, "cpngimagectrl", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, 0&, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString) -
AuthorPosts
Related
- You must be logged in to reply to this topic.