problem unchecking New User Gets Mic checkboxe

You can talk about VB programming here

problem unchecking New User Gets Mic checkboxe

Postby method » Thu Jun 29, 2006 5:29 pm


Hi all . i am using this code to check checboxes but i do not know how to uncheck checkboxes. could any one show me how this can be done using SendMessageLong method? I am trying to uncheck New User Gets Mic checkbox in admin consoleThanks


Code: Select all
 


x = FindWindow("#32770", vbNullString)
    Button = FindWindowEx(x, 0&, "button", "New User Gets Mic")
   
    Call SendMessageLong(Button, WM_KEYDOWN, VK_SPACE, 0&)
    Call SendMessageLong(Button, WM_KEYUP, VK_SPACE, 0&)


method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Postby NVYE » Tue Jul 04, 2006 1:28 pm

the code doesn't work buddy
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Postby method » Tue Jul 04, 2006 1:36 pm

NVYE wrote:the code doesn't work buddy


did u put the api findwindow ... functions and constants!!
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Postby NVYE » Wed Jul 05, 2006 2:39 pm

Yes I did ... oh never mind ... this one is new user gets mic ...

lolz ... i thought it was "Tell Me When ... " nmd
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Postby method » Sat Jul 08, 2006 4:34 am

NVYE wrote:Yes I did ... oh never mind ... this one is new user gets mic ...

lolz ... i thought it was "Tell Me When ... " nmd


so did u find away to uncheck them ? I still can not!! I be happy if some one help me here.Thanks
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Postby NVYE » Sat Jul 29, 2006 11:53 pm

I think if you send it 2 times ... then it becomes uncheck ...

Since you're sending a space key ...
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Postby method » Sun Jul 30, 2006 5:22 am

NVYE wrote:I think if you send it 2 times ... then it becomes uncheck ...

Since you're sending a space key ...


how i send 2 times ? u mean click 2 times?
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Postby NVYE » Sun Jul 30, 2006 12:19 pm

yeah click 2 times
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests