Page 1 of 1

The L/R Win 's ClassNN is often trange

Posted: 2017-05-17, 18:10 UTC
by thomasmolover
I use some tool like Ahk for TC, but when I want to get the control info of the windows, i found the control ClassNN name is often trange in LCLListBox1/2/3/4.

i found if I open the direstory windows, it would happend.

can TC use the same ClassNN to the windows?

Posted: 2017-05-17, 18:14 UTC
by MVV
AHK appends numbers to class names (AFAIK it enumerates them in the order it finds them in a window), pure class names do not contain these suffixes.

Posted: 2017-06-03, 00:13 UTC
by Skif_off
2thomasmolover
TC9.0b1:
- Send WM_USER+50 with wparam=1..29 -> returns window handle of control. Controls are: 1=leftlist, 2=rightlist, 3=active list, 4=inactive list, 5=leftheader, 6=rightheader, 7=leftsize, 8=rightsize, 9=leftpath, 10=rightpath, 11=leftinfo, 12=rightinfo, 13=leftdrives, 14=rightdrives, 15=leftpanel, 16=rightpanel, 17=bottompanel, 18=lefttree, 19=righttree, 20=cmdline, 21=curdirpanel, 22=inplaceedit, 23=splitpanel, 24=leftdrivepanel, 25=rightdrivepanel, 26=lefttabs, 27=righttabs, 28=buttonbar, 29=buttonbarvertical64)
- Send WM_USER+50 with wparam set to 1000 to get active panel: 1=left, 2=right