07-25-2008, 04:36 PM
that is very close
what i am trying to click without mouse is a column header of a Paint Program
the column headers are Colors, Transparency, Brushes, etc...
i want to click Brushes
Acc a=acc("Brushes" "COLUMNHEADER" win("PaintShopPro" "#32770") "SysHeader32" "" 0x1101 654 61)
int b=child(a)
SendMessage(b WM_LBUTTONDOWN 1 0)
SendMessage(b WM_LBUTTONUP 0 0)
that is my code, but the problem is it clicks the first column header, colors, it clicks it every time
im not sure why
do you think you could help fix that code?
Thanks
what i am trying to click without mouse is a column header of a Paint Program
the column headers are Colors, Transparency, Brushes, etc...
i want to click Brushes
Acc a=acc("Brushes" "COLUMNHEADER" win("PaintShopPro" "#32770") "SysHeader32" "" 0x1101 654 61)
int b=child(a)
SendMessage(b WM_LBUTTONDOWN 1 0)
SendMessage(b WM_LBUTTONUP 0 0)
that is my code, but the problem is it clicks the first column header, colors, it clicks it every time
im not sure why
do you think you could help fix that code?
Thanks