Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: prohibit some character on edit box VC 6.0 Pin
Eka Candra25-Sep-09 20:25
Eka Candra25-Sep-09 20:25 
AnswerRe: prohibit some character on edit box VC 6.0[solved] Pin
Iain Clarke, Warrior Programmer25-Sep-09 20:52
Iain Clarke, Warrior Programmer25-Sep-09 20:52 
AnswerRe: prohibit some character on edit box VC 6.0[solved] Pin
David Crow26-Sep-09 17:40
David Crow26-Sep-09 17:40 
QuestionVC or Turbo C 2.0 & Partition when empty OS Pin
tuan111125-Sep-09 18:10
tuan111125-Sep-09 18:10 
AnswerRe: VC or Turbo C 2.0 & Partition when empty OS Pin
Richard MacCutchan25-Sep-09 23:47
mveRichard MacCutchan25-Sep-09 23:47 
AnswerRe: VC or Turbo C 2.0 & Partition when empty OS Pin
CPallini26-Sep-09 11:29
mveCPallini26-Sep-09 11:29 
QuestionHandling DNA sequence data as text Pin
Er1cS25-Sep-09 12:18
Er1cS25-Sep-09 12:18 
AnswerRe: Handling DNA sequence data as text Pin
«_Superman_»25-Sep-09 16:38
professional«_Superman_»25-Sep-09 16:38 
What type of program do you have in mind?
Console or UI?
If UI, dialog based or SDI/MDI?

Here is one way I would do it.

Place on a dialog, 3 rich edit boxes one below the other with its border set to none and its background color the same as that of a dialog.

The first is for the first row.
The second is for the symbols.
The third is for the second row.

When a selection is made in the first edit box, an EN_SELCHANGE notification will be sent.
You can make the same selection in the third edit box using CRichEditCtrl::SetSel.

As for showing symbols in the second edit box, check the character value of the needed symbol using the charmap tool. Type charmap in the Run dialog box.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: Handling DNA sequence data as text Pin
Er1cS25-Sep-09 18:22
Er1cS25-Sep-09 18:22 
Questionimport GUI MFC dll Pin
MrKBA25-Sep-09 11:08
MrKBA25-Sep-09 11:08 
AnswerRe: import GUI MFC dll Pin
Richard Andrew x6425-Sep-09 12:44
professionalRichard Andrew x6425-Sep-09 12:44 
GeneralRe: import GUI MFC dll Pin
MrKBA26-Sep-09 1:52
MrKBA26-Sep-09 1:52 
GeneralRe: import GUI MFC dll Pin
Richard Andrew x6426-Sep-09 5:57
professionalRichard Andrew x6426-Sep-09 5:57 
QuestionUp-Down control Pin
dipuks25-Sep-09 8:58
dipuks25-Sep-09 8:58 
QuestionRe: Up-Down control Pin
David Crow25-Sep-09 9:08
David Crow25-Sep-09 9:08 
AnswerRe: Up-Down control Pin
dipuks25-Sep-09 9:25
dipuks25-Sep-09 9:25 
QuestionRe: Up-Down control Pin
David Crow25-Sep-09 9:28
David Crow25-Sep-09 9:28 
AnswerRe: Up-Down control Pin
dipuks25-Sep-09 9:37
dipuks25-Sep-09 9:37 
QuestionRe: Up-Down control Pin
David Crow25-Sep-09 9:41
David Crow25-Sep-09 9:41 
AnswerRe: Up-Down control Pin
dipuks25-Sep-09 9:48
dipuks25-Sep-09 9:48 
AnswerRe: Up-Down control Pin
Rolf Kristensen26-Sep-09 7:39
Rolf Kristensen26-Sep-09 7:39 
QuestionRules for what you can/can't do inside DOC class serialization(loading) routine Pin
al250025-Sep-09 6:27
al250025-Sep-09 6:27 
AnswerRe: Rules for what you can/can't do inside DOC class serialization(loading) routine Pin
Iain Clarke, Warrior Programmer25-Sep-09 21:21
Iain Clarke, Warrior Programmer25-Sep-09 21:21 
QuestionFunction does not return String as wanted Pin
Tomicmanka25-Sep-09 6:26
Tomicmanka25-Sep-09 6:26 
AnswerRe: Function does not return String as wanted Pin
markkuk25-Sep-09 7:05
markkuk25-Sep-09 7:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.