Click here to Skip to main content
15,901,853 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionforward declare member function so that it can be friend function Pin
yccheok8-Nov-06 21:34
yccheok8-Nov-06 21:34 
AnswerRe: forward declare member function so that it can be friend function Pin
XtremDev8-Nov-06 22:26
XtremDev8-Nov-06 22:26 
QuestionHow can I programmatically add controls. Pin
Marko B.L.8-Nov-06 21:32
Marko B.L.8-Nov-06 21:32 
AnswerRe: How can I programmatically add controls. Pin
Mila0258-Nov-06 21:45
Mila0258-Nov-06 21:45 
GeneralRe: How can I programmatically add controls. Pin
ThatsAlok8-Nov-06 22:11
ThatsAlok8-Nov-06 22:11 
GeneralRe: How can I programmatically add controls. Pin
Mila0258-Nov-06 22:33
Mila0258-Nov-06 22:33 
GeneralRe: How can I programmatically add controls. Pin
Marko B.L.8-Nov-06 22:58
Marko B.L.8-Nov-06 22:58 
AnswerRe: How can I programmatically add controls. Pin
Mila0258-Nov-06 23:13
Mila0258-Nov-06 23:13 
Hi,

hm do you mean something like that:

CLedButton * led = new CLedButton;
led->Create( "an strange text", WS_CHILD|WS_VISIBLE|BS_AUTOCHECKBOX, CRect( 2, 2, 120, 20 ), this, iCtrlId );
led->SetIcons(IDI_GRAY_LED_ICON, IDI_GREEN_LED_ICON);
...
...
...
delete led;



-----------
Mila

GeneralRe: How can I programmatically add controls. Pin
Marko B.L.8-Nov-06 23:24
Marko B.L.8-Nov-06 23:24 
GeneralRe: How can I programmatically add controls. Pin
ThatsAlok9-Nov-06 0:25
ThatsAlok9-Nov-06 0:25 
Questionadding pause-resume options Pin
vijay_aroli8-Nov-06 21:18
vijay_aroli8-Nov-06 21:18 
AnswerRe: adding pause-resume options Pin
Rajesh R Subramanian8-Nov-06 23:30
professionalRajesh R Subramanian8-Nov-06 23:30 
GeneralRe: adding pause-resume options Pin
vijay_aroli8-Nov-06 23:50
vijay_aroli8-Nov-06 23:50 
QuestionPNG Resource to IPicture Pin
Parthi_Appu8-Nov-06 21:00
Parthi_Appu8-Nov-06 21:00 
QuestionHow to Create Hooks in Windows?? Pin
gloriousgopi8-Nov-06 20:01
gloriousgopi8-Nov-06 20:01 
QuestionLinker Error Pin
uday kiran janaswamy8-Nov-06 19:25
uday kiran janaswamy8-Nov-06 19:25 
AnswerRe: Linker Error Pin
sujtha8-Nov-06 21:16
sujtha8-Nov-06 21:16 
AnswerRe: Linker Error Pin
David Crow9-Nov-06 3:42
David Crow9-Nov-06 3:42 
Questionanybody please help me on full,incremental,differential backup policy implementation. Pin
baldha rakesh8-Nov-06 19:00
baldha rakesh8-Nov-06 19:00 
AnswerRe: anybody please help me on full,incremental,differential backup policy implementation. Pin
kakan8-Nov-06 19:33
professionalkakan8-Nov-06 19:33 
QuestionCouldn't found Managed C++ templates in VS2003 !!! Pin
gloriousgopi8-Nov-06 18:50
gloriousgopi8-Nov-06 18:50 
AnswerRe: Couldn't found Managed C++ templates in VS2003 !!! Pin
Mark Salsbery9-Nov-06 5:41
Mark Salsbery9-Nov-06 5:41 
QuestionHelp needed urgently!! Pin
Prinky8-Nov-06 18:41
Prinky8-Nov-06 18:41 
AnswerRe: Help needed urgently!! Pin
Waldermort8-Nov-06 19:01
Waldermort8-Nov-06 19:01 
GeneralRe: Help needed urgently!! Pin
Hamid_RT8-Nov-06 20:09
Hamid_RT8-Nov-06 20:09 

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.