Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Internet Pin
Alfadhly19-May-00 8:47
sussAlfadhly19-May-00 8:47 
GeneralRe: Internet Pin
Alfadhly19-May-00 8:49
sussAlfadhly19-May-00 8:49 
GeneralRe: Internet Pin
Alfadhly19-May-00 8:50
sussAlfadhly19-May-00 8:50 
QuestionHow to simulate/automate user input? Pin
Ra11-May-00 23:42
Ra11-May-00 23:42 
AnswerRe: How to simulate/automate user input? Pin
TBK12-May-00 5:07
TBK12-May-00 5:07 
GeneralPreTranslateMessage, how to check key combination like Ctrl+R Pin
Chris Vischer11-May-00 22:11
Chris Vischer11-May-00 22:11 
GeneralRe: PreTranslateMessage, how to check key combination like Ctrl+R Pin
Kurt11-May-00 22:17
Kurt11-May-00 22:17 
GeneralRe: PreTranslateMessage, how to check key combination like Ctrl+R Pin
Mike Dunn12-May-00 16:21
Mike Dunn12-May-00 16:21 
Chris, this is a built-in feature of dialogs and doesn't require any code on your part. Just create a static control and put it next to the edit box, e.g.:

P&rice: [edit box here]

The &r will show up on the screen as an underlined "r". Make sure the static is right before the edit box in the tab order, and then pressing Alt-R will move the focus to the edit box.

If you *really* have to support shortcut keys using Ctrl, not Alt, then you will have to do some code. But using Alt has been standard for years, so go with Alt.
GeneralBitmaps And Palettes Pin
Mark Swann11-May-00 19:05
Mark Swann11-May-00 19:05 
GeneralRe: Bitmaps And Palettes Pin
Chris Maunder12-May-00 13:20
cofounderChris Maunder12-May-00 13:20 
GeneralRe: Bitmaps And Palettes Pin
Mark Swann12-May-00 16:58
Mark Swann12-May-00 16:58 
GeneralRe: Bitmaps And Palettes Pin
Chris Maunder13-May-00 17:20
cofounderChris Maunder13-May-00 17:20 
GeneralModeless Dialogs Pin
frank11-May-00 13:56
frank11-May-00 13:56 
QuestionHow to Subclass PropertySheet buttons ? Pin
Mario M.11-May-00 13:00
Mario M.11-May-00 13:00 
AnswerRe: How to Subclass PropertySheet buttons ? Pin
TBK12-May-00 5:05
TBK12-May-00 5:05 
GeneralRe: How to Subclass PropertySheet buttons ? Pin
Mario M.12-May-00 8:22
Mario M.12-May-00 8:22 
GeneralCFileDialog Pin
F. Levec11-May-00 5:24
sussF. Levec11-May-00 5:24 
GeneralClose Application Pin
WIDI10-May-00 22:48
WIDI10-May-00 22:48 
GeneralRe: Close Application Pin
Andrei Zenkovitch11-May-00 4:38
Andrei Zenkovitch11-May-00 4:38 
QuestionNotification, if dialog gains the focus? Pin
Chris Vischer10-May-00 22:31
Chris Vischer10-May-00 22:31 
AnswerRe: Notification, if dialog gains the focus? Pin
Andrei Zenkovitch11-May-00 4:21
Andrei Zenkovitch11-May-00 4:21 
GeneralTab key not working on a property sheet Pin
Member 73252210-May-00 18:41
Member 73252210-May-00 18:41 
GeneralIRunningObjectTable::Register Pin
Member 73252210-May-00 18:36
Member 73252210-May-00 18:36 
GeneralRe: IRunningObjectTable::Register Pin
Alex Gorev11-May-00 4:20
Alex Gorev11-May-00 4:20 
GeneralRe: IRunningObjectTable::Register Pin
Member 73252211-May-00 15:22
Member 73252211-May-00 15:22 

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.