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

C / C++ / MFC

 
AnswerRe: Replace dialog in FormView Pin
bleedingfingers4-Jan-11 23:46
bleedingfingers4-Jan-11 23:46 
GeneralRe: Replace dialog in FormView Pin
jaknupp5-Jan-11 9:47
jaknupp5-Jan-11 9:47 
GeneralRe: Replace dialog in FormView Pin
bleedingfingers5-Jan-11 21:31
bleedingfingers5-Jan-11 21:31 
GeneralRe: Replace dialog in FormView Pin
jaknupp6-Jan-11 17:29
jaknupp6-Jan-11 17:29 
QuestionVisual Studio: Resources ID based on other resources ID Pin
Pascal_334-Jan-11 22:50
Pascal_334-Jan-11 22:50 
AnswerRe: Visual Studio: Resources ID based on other resources ID Pin
Richard MacCutchan5-Jan-11 0:38
mveRichard MacCutchan5-Jan-11 0:38 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 2:28
Pascal_335-Jan-11 2:28 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Richard MacCutchan5-Jan-11 7:11
mveRichard MacCutchan5-Jan-11 7:11 
Pascal_33 wrote:
Microsoft seems to say that this should work but .... how???


It doesn't! I have tried this a number of different ways and it just does not work. The problem is that in the .rc file the 'calculated' value is replaced by the preprocessor but the rc compiler does not recalculate it but accepts it as a string value.
#define IDI_X 100
#define IDI_Y (ID_X + 100)

...

IDI_X ICON ...
IDI_Y ICON ...

// in rc file gets replaced thus
100 ICON ...
(ID_X + 100) ICON

which is obviously wrong. It seems that rc will not recalculate expressions that are used as labels in resource scripts.
Just say 'NO' to evaluated arguments for diadic functions! Ash

QuestionRe: Visual Studio: Resources ID based on other resources ID Pin
CPallini5-Jan-11 1:10
mveCPallini5-Jan-11 1:10 
AnswerRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 2:20
Pascal_335-Jan-11 2:20 
GeneralRe: Visual Studio: Resources ID based on other resources ID [modified] Pin
CPallini5-Jan-11 2:22
mveCPallini5-Jan-11 2:22 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 2:44
Pascal_335-Jan-11 2:44 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
CPallini5-Jan-11 3:10
mveCPallini5-Jan-11 3:10 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 5:29
Pascal_335-Jan-11 5:29 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Roger Broomfield5-Jan-11 12:46
Roger Broomfield5-Jan-11 12:46 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_335-Jan-11 22:02
Pascal_335-Jan-11 22:02 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
CPallini6-Jan-11 4:09
mveCPallini6-Jan-11 4:09 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
Pascal_336-Jan-11 5:49
Pascal_336-Jan-11 5:49 
GeneralRe: Visual Studio: Resources ID based on other resources ID Pin
CPallini6-Jan-11 6:00
mveCPallini6-Jan-11 6:00 
QuestionProblem: ISAPI Extension Add custom header Pin
theoneneo244-Jan-11 22:47
theoneneo244-Jan-11 22:47 
QuestionProblem with WaitForSingleObject Pin
Amol Jaikar4-Jan-11 21:09
Amol Jaikar4-Jan-11 21:09 
AnswerRe: Problem with WaitForSingleObject Pin
Rajesh R Subramanian4-Jan-11 21:20
professionalRajesh R Subramanian4-Jan-11 21:20 
AnswerRe: Problem with WaitForSingleObject Pin
Richard MacCutchan4-Jan-11 21:27
mveRichard MacCutchan4-Jan-11 21:27 
AnswerRe: Problem with WaitForSingleObject PinPopular
bleedingfingers4-Jan-11 21:29
bleedingfingers4-Jan-11 21:29 
GeneralRe: Problem with WaitForSingleObject Pin
CPallini4-Jan-11 21:31
mveCPallini4-Jan-11 21:31 

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.