Click here to Skip to main content
15,888,908 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs it possible of getting same answer for inverse of matrix 100*100 dimension using gsl lib and matlab? Pin
mybm119-Sep-14 0:19
mybm119-Sep-14 0:19 
AnswerRe: Is it possible of getting same answer for inverse of matrix 100*100 dimension using gsl lib and matlab? Pin
CPallini19-Sep-14 1:50
mveCPallini19-Sep-14 1:50 
QuestionExtraction dictionary Software database Pin
محمد الذوادي18-Sep-14 18:12
محمد الذوادي18-Sep-14 18:12 
AnswerRe: Extraction dictionary Software database Pin
Richard MacCutchan18-Sep-14 22:11
mveRichard MacCutchan18-Sep-14 22:11 
QuestionGoogle's PageRank Pin
Ștefan-Mihai MOGA17-Sep-14 17:24
professionalȘtefan-Mihai MOGA17-Sep-14 17:24 
SuggestionRe: Google's PageRank Pin
David Crow18-Sep-14 17:34
David Crow18-Sep-14 17:34 
QuestionForce a popup menu hosted in a CDialog to show up its accelerators keys Pin
sdancer7517-Sep-14 2:54
sdancer7517-Sep-14 2:54 
AnswerRe: Force a popup menu hosted in a CDialog to show up its accelerators keys Pin
enhzflep17-Sep-14 16:46
enhzflep17-Sep-14 16:46 
Going on a screen-shot in this article: An examination of menus from a beginner's point of view[^]

Particularly, this image: http://www.codeproject.com/KB/menus/MenusForBeginners/MenuItemEdit.jpg[^]

You can see that adding a tab character and then the text to indicate the accelerator is the way it's done.
So, to make a menu item that says "Bold" and indicates the functionality can be achieved by hitting Ctrl-B, I'd use the text "Bold\tCtrl-B". Unlike the use of the & character to underline the following letter _and_ make the folowing letter actually work, with accelerators, you have to add the text and the accelerator yourself in 2 steps. One as I mentioned, by adding a tab separator between the main text and the accelerator text and the other, by adding an accelerator table,as you've already done.
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon

GeneralRe: Force a popup menu hosted in a CDialog to show up its accelerators keys Pin
sdancer7517-Sep-14 20:56
sdancer7517-Sep-14 20:56 
GeneralRe: Force a popup menu hosted in a CDialog to show up its accelerators keys Pin
enhzflep17-Sep-14 23:50
enhzflep17-Sep-14 23:50 
GeneralRe: Force a popup menu hosted in a CDialog to show up its accelerators keys Pin
sdancer7518-Sep-14 0:20
sdancer7518-Sep-14 0:20 
QuestionMigrating from Win.MFC to Linux/??? Pin
Bram van Kampen16-Sep-14 16:30
Bram van Kampen16-Sep-14 16:30 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
M@dHatter16-Sep-14 17:27
M@dHatter16-Sep-14 17:27 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
CPallini16-Sep-14 18:43
mveCPallini16-Sep-14 18:43 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Bram van Kampen17-Sep-14 12:48
Bram van Kampen17-Sep-14 12:48 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 16:37
professionalAlbert Holguin17-Sep-14 16:37 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
enhzflep17-Sep-14 16:51
enhzflep17-Sep-14 16:51 
QuestionRe: Migrating from Win.MFC to Linux/??? Pin
Maximilien17-Sep-14 3:10
Maximilien17-Sep-14 3:10 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 8:21
professionalAlbert Holguin17-Sep-14 8:21 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Maximilien17-Sep-14 8:25
Maximilien17-Sep-14 8:25 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 8:43
professionalAlbert Holguin17-Sep-14 8:43 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Maximilien17-Sep-14 9:15
Maximilien17-Sep-14 9:15 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 10:25
professionalAlbert Holguin17-Sep-14 10:25 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
jschell17-Sep-14 9:57
jschell17-Sep-14 9:57 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 10:24
professionalAlbert Holguin17-Sep-14 10:24 

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.