Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 5:20 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Mar 27, 2014 12:37 am 
Offline
New Member

Joined: Thu Mar 27, 2014 12:30 am
Posts: 5
Question is like Subject: does anyone know how to get/set position of the PokerStars Bet Slider??

I tried:
Code:
    Dim Pos As Integer = CInt(SendMessage(SliderHwnd,  TBM_GETPOS, IntPtr.Zero, IntPtr.Zero))
    Debug.Print("Pos: " & Pos)
    SendMessage(SliderHwnd, TBM_SETPOS,  New IntPtr(1), New IntPtr(Pos + 10))


but the code don't works (no get / no set) and Pos is always Zero :(

ty


Top
 Profile  
 
PostPosted: Thu Mar 27, 2014 11:43 pm 
Offline
Veteran Member

Joined: Mon Mar 04, 2013 9:40 pm
Posts: 269
I would not use the slider but instead set the bet in the text box. You will find this is way easier.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group