Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
toolbar position
#1
how do i place my window options toolbar at the end of titlebar text ?
i mean that my toolbar is y=40px right of titlebar text.

i attach to every visible window this toolbar.

thanks.
pi
#2
It probably is possible, but not simple. As I understand, the toolbar must be near the place where titlebar text ends. Why not in other place, for example near the Minimize button?
#3
Gintaras Wrote:Why not in other place, for example near the Minimize button?
because i find it more intuitive the have it left.
pi
#4
Not all windows report about text change. A separate thread should periodically get foreground window text, compute text width (I tried GetWindowDC/GetTextExtent32/ReleaseDC, but here it is not accurate) and move toolbar if necessary.


Forum Jump:


Users browsing this thread: 1 Guest(s)