Click here to Skip to main content
15,912,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Edit Control Problem Pin
David Crow19-May-16 7:37
David Crow19-May-16 7:37 
GeneralRe: Edit Control Problem Pin
Richard MacCutchan19-May-16 21:04
mveRichard MacCutchan19-May-16 21:04 
GeneralRe: Edit Control Problem Pin
programmingalholic21-May-16 3:56
professionalprogrammingalholic21-May-16 3:56 
GeneralRe: Edit Control Problem Pin
leon de boer19-May-16 23:17
leon de boer19-May-16 23:17 
GeneralRe: Edit Control Problem Pin
Victor Nijegorodov20-May-16 0:23
Victor Nijegorodov20-May-16 0:23 
GeneralRe: Edit Control Problem Pin
Richard MacCutchan20-May-16 1:17
mveRichard MacCutchan20-May-16 1:17 
GeneralRe: Edit Control Problem Pin
programmingalholic21-May-16 3:54
professionalprogrammingalholic21-May-16 3:54 
QuestionRe: Edit Control Problem Pin
David Crow19-May-16 6:44
David Crow19-May-16 6:44 
AnswerRe: Edit Control Problem Pin
programmingalholic19-May-16 6:56
professionalprogrammingalholic19-May-16 6:56 
QuestionRe: Edit Control Problem Pin
David Crow19-May-16 7:38
David Crow19-May-16 7:38 
GeneralRe: Edit Control Problem Pin
Richard MacCutchan19-May-16 21:18
mveRichard MacCutchan19-May-16 21:18 
AnswerRe: Edit Control Problem Pin
Jochen Arndt19-May-16 22:45
professionalJochen Arndt19-May-16 22:45 
GeneralRe: Edit Control Problem Pin
programmingalholic21-May-16 3:49
professionalprogrammingalholic21-May-16 3:49 
QuestionConvert string name to Control ID Name Pin
002comp17-May-16 22:03
002comp17-May-16 22:03 
AnswerRe: Convert string name to Control ID Name Pin
Richard MacCutchan17-May-16 22:16
mveRichard MacCutchan17-May-16 22:16 
GeneralRe: Convert string name to Control ID Name Pin
002comp17-May-16 22:19
002comp17-May-16 22:19 
GeneralRe: Convert string name to Control ID Name Pin
Richard MacCutchan17-May-16 22:42
mveRichard MacCutchan17-May-16 22:42 
GeneralRe: Convert string name to Control ID Name Pin
leon de boer18-May-16 19:36
leon de boer18-May-16 19:36 
AnswerRe: Convert string name to Control ID Name Pin
leon de boer18-May-16 19:51
leon de boer18-May-16 19:51 
I suspect you need all the buttons for something like I have done which was a grid display for a process plant control switches for pumps and the like.

What you can do is attach a text string as either a property of the button handle via "SetProp" or alternative set the string as
a resource using RT_STRING to the ID of the button and use FindResourceEx to pull back the string matching the button ID. The
String resources are stored in sections of up to 16 strings per section so you will need to provide a function to pull it back.

Here is a sort of normal code for pulling back a string resource
String Resources | Ruminations[^]

The SetProp way is easier but can only be created in the WM_CREATE of the button creation, or just after the CreateWindowEx call creating the button and so needs a little more setup work than a string resource list.
In vino veritas

AnswerRe: Convert string name to Control ID Name Pin
Gerry Schmitz19-May-16 5:54
mveGerry Schmitz19-May-16 5:54 
SuggestionRe: Convert string name to Control ID Name Pin
Krishnakumartg21-Sep-16 19:57
Krishnakumartg21-Sep-16 19:57 
QuestionRPN notation in C Pin
Member 1252915917-May-16 6:19
Member 1252915917-May-16 6:19 
GeneralRe: RPN notation in C Pin
harold aptroot17-May-16 6:29
harold aptroot17-May-16 6:29 
GeneralRe: RPN notation in C Pin
Member 1252915917-May-16 6:57
Member 1252915917-May-16 6:57 
GeneralRe: RPN notation in C Pin
harold aptroot17-May-16 7:03
harold aptroot17-May-16 7:03 

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.