Click here to Skip to main content
15,907,395 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCE C++ - list control color and font problems Pin
LaCoder7-Jun-07 6:25
LaCoder7-Jun-07 6:25 
AnswerRe: CE C++ - list control color and font problems Pin
Matthew Faithfull7-Jun-07 7:42
Matthew Faithfull7-Jun-07 7:42 
QuestionCE C++ - static text font and size how to [modified] Pin
LaCoder7-Jun-07 6:15
LaCoder7-Jun-07 6:15 
AnswerRe: CE C++ - static text font and size how to Pin
Matthew Faithfull7-Jun-07 6:33
Matthew Faithfull7-Jun-07 6:33 
GeneralRe: CE C++ - static text font and size how to Pin
LaCoder7-Jun-07 6:50
LaCoder7-Jun-07 6:50 
AnswerRe: CE C++ - static text font and size how to Pin
Anurag Gandhi7-Jun-07 6:35
professionalAnurag Gandhi7-Jun-07 6:35 
GeneralRe: CE C++ - static text font and size how to Pin
LaCoder7-Jun-07 6:53
LaCoder7-Jun-07 6:53 
QuestionVariable Resource Ids Pin
maberry7-Jun-07 6:05
maberry7-Jun-07 6:05 
I have a bunch of button resources that I want to set to be visible depending on certain criteria.
Here is a sample of the code I have:

for(i=0; i<number of sub entities; i++)
{
//for check button
pBtn=GetDlgItem(IDC_STRIPVIEW_DEVICE_1_CHECK_BTN);
pBtn->ShowWindow(SW_SHOWNORMAL);
}

I to be able to have the number in the IDC identifier change correspond to i.
How do I get the number in the IDC to be variable. Or how can I make MFC
treat a string as a resource id?

Thanks

Adam
QuestionRe: Variable Resource Ids Pin
Mark Salsbery7-Jun-07 6:50
Mark Salsbery7-Jun-07 6:50 
AnswerRe: Variable Resource Ids Pin
maberry7-Jun-07 7:59
maberry7-Jun-07 7:59 
GeneralRe: Variable Resource Ids Pin
Mark Salsbery7-Jun-07 8:13
Mark Salsbery7-Jun-07 8:13 
QuestionLoadLibrary(Ex) and SetErrorMode problem Pin
Nitrogenycs7-Jun-07 5:59
Nitrogenycs7-Jun-07 5:59 
AnswerRe: LoadLibrary(Ex) and SetErrorMode problem Pin
bob169727-Jun-07 7:58
bob169727-Jun-07 7:58 
GeneralRe: LoadLibrary(Ex) and SetErrorMode problem Pin
Nitrogenycs7-Jun-07 8:36
Nitrogenycs7-Jun-07 8:36 
QuestionRe: LoadLibrary(Ex) and SetErrorMode problem Pin
bob169727-Jun-07 9:24
bob169727-Jun-07 9:24 
GeneralRe: LoadLibrary(Ex) and SetErrorMode problem Pin
Nitrogenycs7-Jun-07 9:45
Nitrogenycs7-Jun-07 9:45 
Questionstd::map but with multiple values for one key? Pin
Cyrilix7-Jun-07 3:57
Cyrilix7-Jun-07 3:57 
AnswerRe: std::map but with multiple values for one key? Pin
CPallini7-Jun-07 4:12
mveCPallini7-Jun-07 4:12 
GeneralRe: std::map but with multiple values for one key? Pin
Cyrilix7-Jun-07 4:23
Cyrilix7-Jun-07 4:23 
AnswerRe: std::map but with multiple values for one key? Pin
Michael Sadlon7-Jun-07 8:11
Michael Sadlon7-Jun-07 8:11 
GeneralRe: std::map but with multiple values for one key? Pin
Cyrilix7-Jun-07 8:19
Cyrilix7-Jun-07 8:19 
AnswerRe: std::map but with multiple values for one key? Pin
Michael Sadlon8-Jun-07 10:19
Michael Sadlon8-Jun-07 10:19 
Question#include files included more than once Pin
prithaa7-Jun-07 2:57
prithaa7-Jun-07 2:57 
AnswerRe: #include files included more than once Pin
CPallini7-Jun-07 3:04
mveCPallini7-Jun-07 3:04 
AnswerRe: #include files included more than once Pin
Cedric Moonen7-Jun-07 3:04
Cedric Moonen7-Jun-07 3:04 

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.