Home > Software engineering >  [C] (MFC) can you tell me how to realize the text page effect
[C] (MFC) can you tell me how to realize the text page effect

Time:09-30

The final design to be a novel reader, don't know how to realize the flip effect, strives for the great god give advice or comments

CodePudding user response:

Can be calculated which section of a page from which you do word began to show!
Each line need to display area to take up a few lines (wrap) also can be calculated, changing the word/line width, if more than + 1,
But the current font width also has the corresponding function is available,

CodePudding user response:

reference 1st floor jianwen0529 response:
can be calculated which section of a page from which you do word began to show!
Each line need to display area to take up a few lines (wrap) also can be calculated, changing the word/line width, if more than + 1,
While the current font width also have access to the corresponding function,


In fact, I just want to achieve the kind of operation, can according to the next page and then we use the MFC text box control, are displayed with the scroll bar, whether there is a kind of control can display from page to page, and then I can do the response function of the button

CodePudding user response:

See your GDI with 6 is not the time to ~

CodePudding user response:

reference what951006 reply: 3/f
see you using GDI 6 no time ~

Have no 6, it will only do a drawing program,,,,,,, the teacher also taught only this

CodePudding user response:

You can refer to the android code

CodePudding user response:

Baidu search relevant keywords,
  • Related