Home > Software engineering >  How to achieve click on the button shows the content of the configuration file
How to achieve click on the button shows the content of the configuration file

Time:10-04

Rookie help: I want to achieve in the edit box input certain content, because the input can choose from the list, so I design a button, now would like to ask how to click on the button to open a. Ini a configuration file, and then select a row in the configuration file, click or double-click the selected content appeared in the edit box,

CodePudding user response:

The great god are on holiday? Online, such as

CodePudding user response:

http://blog.csdn.net/zhoubl668/article/details/3739051
Refer to this post.

To learn how to use baidu, a random search is a pile of code, you choose a few to try

CodePudding user response:

Simply by "notebook" open, ini and then copied to the clipboard "
Paste your program again

CodePudding user response:

, the building Lord your needs clearly, describe clearly first, then ask,

CodePudding user response:

Is to use a button to open the "open file dialog box" to find the open file dialog box CFIleDlg documents,
And then through the open file dialog box, choose open an ini file,

Then a row in the configuration file is selected, click or double-click the selected content appeared in the edit box,

Selected profile of a line, a line because of the need to select the configuration file, simple to do is you define an ini know what "item", then all the items written die are stored in a stored inside a CListControl,

Then only need to open the file after corresponding response CListControl double-click events, get which items need to display the numerical, only need the entries on ini getread
  • Related