Recent

Author Topic: [Solved]Setting the CURSOR for the BAND on a TCONTROLBAR?  (Read 279 times)

jamie

  • Hero Member
  • *****
  • Posts: 7902
[Solved]Setting the CURSOR for the BAND on a TCONTROLBAR?
« on: July 17, 2026, 11:50:39 pm »
How do I set the cursor for the BAND in a TCONTROLBAR so I can show a custom cursor or any other cursor other than the Drag one, which I can't seem to change.

Jamie

« Last Edit: July 20, 2026, 11:34:50 am by jamie »
The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 7902
Re: Setting the CURSOR for the BAND on a TCONTROLBAR?
« Reply #1 on: July 17, 2026, 11:53:10 pm »
scratch that, It seems I need to use the Auto drag mode which is confusing because that serves a different purpose?


P.S.
  No, that causes a cosmetic issue because the cursor does not change Until I clamp down on it to move it, otherwise it shows as a little box.

 need to look into that control.

Jamie

« Last Edit: July 18, 2026, 12:20:02 am by jamie »
The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 7902
Re: Setting the CURSOR for the BAND on a TCONTROLBAR?
« Reply #2 on: July 18, 2026, 02:16:55 am »
Ok, I found the issue..

It's a hard coded issue, it's bound to a "crDrag" cursor within the ChangeCursor method of the control which isn't virtual, so a local override hack isn't going to do it, the control needs to be modified with an added property to get the grabber cursor from a user defined point.

  Oh well, move on with the rest of the project.

 Jamie



The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 7902
Re: Setting the CURSOR for the BAND on a TCONTROLBAR?
« Reply #3 on: July 20, 2026, 11:33:52 am »
Done, wp fixed it.
Thank you
Jamie
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018