Home > Software engineering >  /urgent!!!!! CEDIT implementation after the mouse click show history input record!!
/urgent!!!!! CEDIT implementation after the mouse click show history input record!!

Time:09-23




As shown in the above, click a CEdit control after the pop up a window display historical input, and can choose a, after the selected window disappear,
Excuse me each great god how to implement?

CodePudding user response:

Can consider to use CComBoBox, Dropdown can style, can be to enter, the drop-down
If it is a complex input, can build a dialog resource or custom painting CWnd

CodePudding user response:

To give the landlord to provide a train of thought:
1. The first design a dialog box that is used to display the history input record;
2. Monitor main interface input box "input focus", triggered when the pop-up 1 good interface design, use a modal dialog box;
3. 1 design the dialog function can design on your own, such as double after a record, send message to the main interface, hide themselves at the same time; Main interface can be filled according to the received message input box content;

CodePudding user response:

Search automatically the CEdit controls
  • Related