Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Encoding from PCm to g711 uLaw Pin
Matthew Faithfull17-Sep-08 0:49
Matthew Faithfull17-Sep-08 0:49 
GeneralRe: Encoding from PCm to g711 uLaw Pin
CrazyDogg17-Sep-08 1:26
CrazyDogg17-Sep-08 1:26 
GeneralRe: Encoding from PCm to g711 uLaw Pin
Matthew Faithfull17-Sep-08 1:34
Matthew Faithfull17-Sep-08 1:34 
GeneralRe: Encoding from PCm to g711 uLaw Pin
CrazyDogg17-Sep-08 3:10
CrazyDogg17-Sep-08 3:10 
GeneralRe: Encoding from PCm to g711 uLaw Pin
Matthew Faithfull17-Sep-08 3:42
Matthew Faithfull17-Sep-08 3:42 
QuestionHow to Translate messages sent by PostThreadMessage Pin
Joseph Marzbani16-Sep-08 22:33
Joseph Marzbani16-Sep-08 22:33 
QuestionRe: How to Translate messages sent by PostThreadMessage Pin
Mark Salsbery17-Sep-08 6:29
Mark Salsbery17-Sep-08 6:29 
AnswerRe: How to Translate messages sent by PostThreadMessage Pin
Hamid_RT17-Sep-08 8:21
Hamid_RT17-Sep-08 8:21 
GeneralRe: How to Translate messages sent by PostThreadMessage Pin
Mark Salsbery17-Sep-08 8:27
Mark Salsbery17-Sep-08 8:27 
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 
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 
cagespear wrote:
Ctrl IDs are autogenerated by compiler


It is generated by the resource editor, not by the compiler. It means that once your UI is done and you don't touch it anymore, you can recompile your project as many times as you like and the Ids won't be changed. Furthermore, nothing prevents you to open the resource file with a text editor and assign the Ids yourself manually (you have to take care about not assigning an existing value).
So, I think using the control Id in your xml is perfectly fine (and that's the way I would follow).

If you design your UI, adding new controls won't change the Id of existing controls (AFAIK because I never saw something like that happening).

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

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 

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.