Home > Back-end >  How to get the control output text messages and text on location information?
How to get the control output text messages and text on location information?

Time:09-18

Two problems:
1, what is on the control output text message?
I want to gain control of the output text is displayed message (through the message?)

2, how to intercept the output text information?
Initial output X, Y position, text width, height

Concrete is like this:
I think after the listview column by clicking in the caption, draw yourself a arrow (is a picture, not with arrow character substitution), so I want to:
1, to control the output text, if you can get the message, you can after the text output, his arrow,
2, different fonts, listview column caption starting on x, y position is different, how can I get a specific position information? Width, height and text data?

In order to do this, now solve the problem:
ListView_GetHeader, handle to get the Header
ListView_GetStringWidth, get the text width
SetWindowLong (FHeaderHandle GWL_WNDPROC, LongInt (@ NewHeadProc)), replace the Header of the message processing function
WM_PAINT, get the Header redraw message

CodePudding user response:

There is no answer,,,,,,

CodePudding user response:

It seems no one answer,,,

CodePudding user response:

Nearly a year, and then by,,,

CodePudding user response:

To solve the no, do you have any tips to share
  • Related