- This topic has 13 replies, 3 voices, and was last updated 18 years ago by Admin.
-
AuthorPosts
-
June 22, 2006 at 10:43 am #188782methodMember
Hi all. is there a way to detect when we get the mic ,like by button status change or by looking at our name position and then baced on that for example send a perticuler text to the room. I be happy if some one show me how i can detect getting mic.Thanks
June 22, 2006 at 11:49 am #188795AdminAdministratorman those listview questions are hard, I dont think we know that one yet 🙁
June 22, 2006 at 11:58 am #188794methodMember@Admin wrote:
man those listview questions are hard, I dont think we know that one yet 🙁
There should be good programs around that build u codes so u can talk to external applications ,since many sofware comapanies they do not share their source code and u want create adds on and u get in to problem .
Also Not many tutorials about this topic !!! There should be standreds to achive these tasks and i think IT world is still a sleep and only focousing on updating windows and releasing .net , .shit .this , .that ,…. loll
June 22, 2006 at 1:13 pm #188793AdminAdministratorI think Dody mention once about it can be done with c# but I havent gone into that yet. this summer I gonna try again to learn it 🙂
June 22, 2006 at 5:12 pm #188792BattleStar-GalacticaMemberYou can try to do the capture mic status, U know in paltalk room when U take mic, the icon status is red and when you lose mic the icon is green. U have just compare pixel if red that mean u have mic else you dont
I have done it and yep it work i can detect if I lose mic.
but that solution is not standar 😆
loco if you want to learn c#, i think U have cho check MFC because MFC is GUI application similar c# or vb or delphi, you have toolbar to add button,textbox to your form ect…, plus it’s c programming, U can access all api and very powerful and you can mix managed code with native code. I have learn many programming language and mfc is the language I will chose to make my future app 8)
June 22, 2006 at 6:48 pm #188791methodMemberNano that is what i had in mind to detect the changes of button but do not know how. what u mean it is not standred ? does it work corectly all the time? could u show us the working code ? the icon is image button it changes when we have the mic and we loose the mic. If it was text over button i think it was easier but it is image swapping!Thanks
June 22, 2006 at 7:08 pm #188790AdminAdministratorI will try lol its sumer so its beaches girls drinking lol joke i got a wify but i give it ago 🙂 and wha is the mfc thats like microsoft visual studio 2005 right?
June 22, 2006 at 8:07 pm #188789BattleStar-GalacticaMembermfc=microsoft foundation class library
yep U can have it in vs2005
if you know mfc i think you can code every language 8) like after you can go with SDK(win32). there is not really different between mfc and win32, both u have access direct api. win32 u can do an application console.method there a some code on net you can use to compare image pixel, and capture button maybe loco code about capit, I didn’t check his code but i think you can learn from that how to capture a window.
June 22, 2006 at 8:50 pm #188788methodMembernanomachine007 thank u for u explantion but how often should i take snap shot of button(fiexed region) to do the comparason? i could have 2 pics one for when holding the mic and one when not having the mic and doing the comparasion every seconds?
could u tell me how to do the compare and how often?
loco code does have option of fixed region snap so it is hard to take snap shot of exact location all the time!!
June 22, 2006 at 10:13 pm #188787BattleStar-GalacticaMemberyep you must have two pictures and u must use get window rectangle something like that to get the region of mic status and do the capture.
June 22, 2006 at 10:15 pm #188786methodMember@nanomachine007 wrote:
yep you must have two pictures and u must use get window rectangle something like that to get the region of mic status and do the capture.
Man how often to capture and how to do the compare ?
the actual 2 icons are have the same size!! How u do the compare and identify each one when u see all the properties are the same !!June 22, 2006 at 10:30 pm #188785BattleStar-GalacticaMemberman you have to get color of your picture, red and green is not the same. look around google, u will find how to get a pixel color 8)
June 22, 2006 at 10:43 pm #188784methodMember@nanomachine007 wrote:
man you have to get color of your picture, red and green is not the same. look around google, u will find how to get a pixel color 8)
thank u for u reply . but pixel color of what part of each image ? each part is diffrent with in the same image!!
June 22, 2006 at 10:51 pm #188783BattleStar-GalacticaMemberregion 0,0 is ok 😆 btw if you care u must delete your pic in other post cuz i can identify your nick what it is 8)
-
AuthorPosts
Related
- You must be logged in to reply to this topic.