Click here to Skip to main content
16,008,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Translate messages sent by PostThreadMessage Pin
Hamid_RT17-Sep-08 8:32
Hamid_RT17-Sep-08 8:32 
GeneralRe: How to Translate messages sent by PostThreadMessage Pin
Mark Salsbery17-Sep-08 8:48
Mark Salsbery17-Sep-08 8:48 
QuestionConvert Resource Names to IDs Pin
cagespear16-Sep-08 20:43
cagespear16-Sep-08 20:43 
AnswerRe: Convert Resource Names to IDs Pin
Rane16-Sep-08 21:35
Rane16-Sep-08 21:35 
GeneralRe: Convert Resource Names to IDs Pin
cagespear16-Sep-08 21:56
cagespear16-Sep-08 21:56 
GeneralRe: Convert Resource Names to IDs Pin
Cedric Moonen16-Sep-08 22:04
Cedric Moonen16-Sep-08 22:04 
GeneralRe: Convert Resource Names to IDs Pin
Rane17-Sep-08 0:02
Rane17-Sep-08 0:02 
AnswerRe: Convert Resource Names to IDs Pin
Iain Clarke, Warrior Programmer16-Sep-08 21:46
Iain Clarke, Warrior Programmer16-Sep-08 21:46 
The answer is up to you. We have no way of giving any solid recomendations without lots more information. As Rane implied, you are asking us for a lot of work, which you won't get...

Does the xml file describe control positions and names? You could read in the xml file, and give the first control you find ID=100, second one ID=101, and so on. Store this name->ID mapping in a (gasp) map container. When you want to look up a control by name later, look up the ID in that map.

And that's just one idea.

Iain.
GeneralRe: Convert Resource Names to IDs Pin
cagespear16-Sep-08 22:11
cagespear16-Sep-08 22:11 
GeneralRe: Convert Resource Names to IDs Pin
Cedric Moonen16-Sep-08 22:19
Cedric Moonen16-Sep-08 22:19 
GeneralRe: Convert Resource Names to IDs Pin
cagespear16-Sep-08 23:12
cagespear16-Sep-08 23:12 
GeneralRe: Convert Resource Names to IDs Pin
Cedric Moonen16-Sep-08 22:25
Cedric Moonen16-Sep-08 22:25 
AnswerRe: Convert Resource Names to IDs Pin
Cedric Moonen16-Sep-08 21:59
Cedric Moonen16-Sep-08 21:59 
GeneralRe: Convert Resource Names to IDs Pin
cagespear16-Sep-08 22:18
cagespear16-Sep-08 22:18 
AnswerRe: Convert Resource Names to IDs Pin
Iain Clarke, Warrior Programmer17-Sep-08 0:33
Iain Clarke, Warrior Programmer17-Sep-08 0:33 
QuestionGetUserName() API failing condition Pin
ktm TechMan16-Sep-08 20:42
ktm TechMan16-Sep-08 20:42 
AnswerRe: GetUserName() API failing condition Pin
Rajesh R Subramanian16-Sep-08 20:58
professionalRajesh R Subramanian16-Sep-08 20:58 
GeneralRe: GetUserName() API failing condition Pin
ktm TechMan16-Sep-08 22:27
ktm TechMan16-Sep-08 22:27 
GeneralRe: GetUserName() API failing condition Pin
Rajesh R Subramanian16-Sep-08 22:56
professionalRajesh R Subramanian16-Sep-08 22:56 
JokeRe: GetUserName() API failing condition Pin
TheRealEye17-Sep-08 0:58
TheRealEye17-Sep-08 0:58 
AnswerRe: GetUserName() API failing condition Pin
Hamid_RT17-Sep-08 8:20
Hamid_RT17-Sep-08 8:20 
Questionhello i want to redirecting functions using pointers only and i get 2 errors Pin
nah133716-Sep-08 18:53
nah133716-Sep-08 18:53 
AnswerRe: hello i want to redirecting functions using pointers only and i get 2 errors Pin
Cedric Moonen16-Sep-08 19:57
Cedric Moonen16-Sep-08 19:57 
AnswerRe: hello i want to redirecting functions using pointers only and i get 2 errors Pin
enhzflep16-Sep-08 20:12
enhzflep16-Sep-08 20:12 
GeneralRe: hello i want to redirecting functions using pointers only and i get 2 errors Pin
nah133716-Sep-08 20:55
nah133716-Sep-08 20:55 

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.