Usage of the date control in VC

Updated on technology 2024-04-05
11 answers
  1. Anonymous users2024-02-07

    Can you be more clear.

  2. Anonymous users2024-02-06

    You can use the settimer function to set a timer, enter the macro to scan every second of the line, and modify the time in the response function of the timer.

  3. Anonymous users2024-02-05

    You can determine the values of a and b in the change event, and then adjust the display of the control values.

  4. Anonymous users2024-02-04

    In the dataTimeChange message handler in B, make a judgment if it is earlier than A, do not use the date selected.

  5. Anonymous users2024-02-03

    The first one is a generic button: the Send Message button.

    The second is an assistant button for increasing or decreasing the value: there are two components, click on the top to increase the count, and click on the bottom to decrease the count.

    The third and general button: the exit button.

  6. Anonymous users2024-02-02

    1. Add the object of the control class, ctabctrl m tab1;

    2. Add property page, m ,"Set the content");The i-value is set as needed;

    For more details, see the ctabctrl class description of msdn.

  7. Anonymous users2024-02-01

    A very classic version of 3cd, support F1 shortcut keys Definitely easy to use and tried.

  8. Anonymous users2024-01-31

    If you want to say refining, you can go to the warehouse to search for it, and there are many classics in it, which are summarized by the "predecessors". It's very useful for beginners.,I often go to the next point to learn before I say that.。 The main thing in programming is to read and write.

    That's how it will be mentioned, of course, with your brain!

  9. Anonymous users2024-01-30

    Take VC6 as an example in the New MFC Dialog Project.

    Resources are added to a combo box, a box, and a button.

    Sets the data displayed in the combo box.

    Select the combo box control Right-click Properties Data between General and Style Enter one line Ctrl + cart to continue typing the next line.

    Note: If the resource is a combo box, click the mouse on the black triangle, and pull down when the mouse turns into an up and down arrow, otherwise it will not be visible when it is run.

    Options. Of course, the options in the combo box can be set with **. Use the Type Wizard to associate the combo box with a ccombobox(category, control) object variable.

    Add it in the oninitdialog() dialog box.

    e.g. int i;

    cstring cs;

    for(i=0;i<=9;i++)

    If you're not familiar with CSring, you can use Character Array + Sprintf or Character Array + Itoa

    int i;

    char s[100];

    for(i=0;i<=9;i++)

    int i;

    char s[100];

    for(i=0;i<=9;i++)/)

    Double-click the button to add a response function.

    void a class: onbutton1()}

  10. Anonymous users2024-01-29

    In the Explorer, select combobox to add a variable. For example, m cmbtest

    In onbutton, m can get the index value.

    Use m to get the text of the current reality.

  11. Anonymous users2024-01-28

    Add in editbox onchange.

    updatedata();

    m_;You can give it a try.

Related questions
13 answers2024-04-05

Since the stored procedure gets the correct result, the problem is definitely not the stored procedure's problem; >>>More

6 answers2024-04-05

Your question,I saw it last time in the technical documentation of Huidu Control Network.,I can't remember it now.,Find it yourself.,Here's the address.。