When STATUSBAR has multiple subclays, how to determine how to double-click on the status bar on the status bar. Which one is

zhaozj2021-02-08  284

When STATUSBAR has multiple subcarms, how to determine the two-click on the status bar on the status bar? Double-click which number of the clicks? Due to TSTATUSPANEL, there is no mouse event, so I have to think other ways: void __fastcall tform1 :: statusbar1mousedown (Tobject * Sender, TMousebutton Button, TshiftState Shift, Int x, int y) {mousex = x;} void __fastcall tform1 :: statusbar1dblclick (Tobject * sender) {INT i, x; x = 0; for (i = 0; i panels-> Count; i ) {x = statusbar1-> panels-> items [i] -> width; // Right IF (Mousex

转载请注明原文地址:https://www.9cbs.com/read-1916.html

New Post(0)