C How to write hints, and how to type words out one by one on the screen in C

Updated on technology 2024-04-13
16 answers
  1. Anonymous users2024-02-07

    Write in the mouseover event and mouseout event, and clear the word in the text box when there is focus.

  2. Anonymous users2024-02-06

    Move into the input box to disappear the text, and leave the input box to display the text again.

  3. Anonymous users2024-02-05

    Directly set the text attribute of the label, and put the text to be displayed in the text attribute, for example.

    Please enter the text you want to display";label is your widget ID

  4. Anonymous users2024-02-04

    string word1="(The word you want to show)."

    int i = 0 ;

    private void button1_click(object sender, eventargs e)

    else if ( == "Get started")

    private void timer1_tick(object sender, eventargs e)

    private void form1_load(object sender, eventargs e)

  5. Anonymous users2024-02-03

    This kind of effect, flash is the best, why not use the convenient method!

  6. Anonymous users2024-02-02

    Write ** in the paint event of the window, you need to maintain the coordinates yourself (output here in the upper left corner), the parameter brush randomly selects, you can choose according to your needs.

    private void form1_paint(object sender, painteventargs e)

  7. Anonymous users2024-02-01

    Drag a label control onto the form, then.

  8. Anonymous users2024-01-31

    Dynamically create a label assignment.

    label lbl=new label();

    new point(x,y);x is the abscissa and y ordinate, and the value is assigned by itself"Assignment";;

  9. Anonymous users2024-01-30

    "Han";It is to convert the property text content of textbox1 to"Han"

  10. Anonymous users2024-01-29

    Not sure what effect you want. If in the program, there is no indication of the text to be displayed, then you want to make something out of nothing, and there is definitely no way.

  11. Anonymous users2024-01-28

    What text prompt are you going to display, is it a pop-up prompt? Or a form of lable text prompts

  12. Anonymous users2024-01-27

    Combined with the second floor.

    Add a timer control.

    private void timer1_tick(object sender, eventargs e)

    Add a start scrolling button.

    private void button1_click(object sender, eventargs e)

    Stop scrolling button.

    private void button2_click(object sender, eventargs e)

    You can also directly modify the properties of the timer, instead of facing the two buttons

  13. Anonymous users2024-01-26

    Use the timer to add white space in front of or after the string, and repeat the loop.

  14. Anonymous users2024-01-25

    Add a timer, and then set the state you want to play in the timer event.

  15. Anonymous users2024-01-24

    Isn't it possible to read the format with file streaming, as for richtextbox, isn't it possible to set a scrollbar, if you just want to pull richtextbox high, you can judge the number of lines or words of the text read, and then dynamically set the height of richtextbox.

  16. Anonymous users2024-01-23

    Follow-up: It's not to be read, just read the RTF attribute of the richtextbox control and it will come out, string. Because the user is entering text in the richtextbox control, of course he can also set the font, color, size, etc.

    Now the point is not knowing how to show it. With RichTextBox, it's hard to calculate the height because the fonts aren't all the same, and the scrollbar height can only be obtained using the API, which doesn't have such a property and can be used directly. It's best not to use richtextbox, no matter what method you use, as long as you can display the formatted text entered by the user Answer:

    Looks like you're going to make a rich text generator like that? I'll send you an example for you to see. There is a simpler example that cannot be found.

    Please leave an email to follow-up: No, the rich text maker is easy to do, I've done it all. This is an examination system, we allow the teacher to change the font, color, and size of the question when the question is made, and now the key is how to show the format to the students as it is, provided that the content of the question must be displayed, and the format should be the same as the teacher set at the time, of course, we can not appear scroll bars when displaying, and we must not answer:

    What is the model of your system? cs?bs?。

Related questions
8 answers2024-04-13

Programming is also a technical job, especially when writing efficient programs, how can you learn it in three or five days. >>>More

8 answers2024-04-13

If you just make a separate app (instead of engaging in the secondary development of the framework), qt can barely make up the number. Although it is not pure C++ (relying on MOC QML), the overall tools (build tools, designers, IDE integration including VS) are relatively high, and they also support multiple mainstream platforms (Windows, Linux, OS X, etc.), with relaxed license requirements (LGPL), optional commercial support, and relatively low risk for individual APP projects. Although the binary size that needs to be released is still on the large side, it is easier to do than the mainstream web and. >>>More

10 answers2024-04-13

1 First of all, click [File] and select [New] to select [C++ Source File] in the file, enter the [File Name] to be created, and select the location of the file to be saved] is [browsing] Knowledge: The shortcut key for [New Deslag Removal File] is [Ctrl+N] 2 Next, you can [write a program] in the newly created file After the writing is completed, click [Compile [File Name]] in [Component (B)] Tips: The file name is as shown in the following figure [Nazhen quietly has a small asterisk, indicating that there is an unsaved part in the file, so at this time, you can press the shortcut key [Ctrl+S] to save the file.

8 answers2024-04-13

The double buffer on the Internet refers to the program of the graphic mode,You are in character mode,If you want to brush fast,Not with double buffer,But to write the screen directly。

8 answers2024-04-13

Method steps.

Open VS2012 - File - New - Project. >>>More