The L/R Win 's ClassNN is often trange

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

The L/R Win 's ClassNN is often trange

Post 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?
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post 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.
Skif_off
Member
Member
Posts: 132
Joined: 2013-09-30, 13:13 UTC

Post 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
Post Reply