Click here to Skip to main content
15,887,958 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Figured it out Pin
Ravi Bhavnani26-Jun-05 3:05
professionalRavi Bhavnani26-Jun-05 3:05 
GeneralRe: Figured it out Pin
Jose Lamas Rios26-Jun-05 11:30
Jose Lamas Rios26-Jun-05 11:30 
GeneralRe: Figured it out Pin
toxcct26-Jun-05 20:47
toxcct26-Jun-05 20:47 
GeneralRe: Figured it out Pin
Ravi Bhavnani26-Jun-05 3:04
professionalRavi Bhavnani26-Jun-05 3:04 
Generalcreate check box dynamically Pin
softtec25-Jun-05 5:52
softtec25-Jun-05 5:52 
GeneralRe: create check box dynamically Pin
Brad Bruce25-Jun-05 8:18
Brad Bruce25-Jun-05 8:18 
GeneralRe: create check box dynamically Pin
Jose Lamas Rios25-Jun-05 14:01
Jose Lamas Rios25-Jun-05 14:01 
GeneralRe: create check box dynamically Pin
A_Fa26-Jun-05 1:24
A_Fa26-Jun-05 1:24 
Variable b1 cant be a local variable .
This belaw sample work successful .


CButton *b1;

void Create()
{
b1=new CButton;
int no,i;
no=1;
i=0;
rect.SetRect(i+20,20,400,i+20);
b1.Create(name,WS_CHILD | WS_VISIBLE | BS_CHECKBOX | BS_AUTOCHECKBOX,rect,&m_Stat,no);
no++;
i+=10;
}





or

void Create()
{
static CButton *b1;
b1=new CButton;
int no,i;
no=1;
i=0;
rect.SetRect(i+20,20,400,i+20);
b1.Create(name,WS_CHILD | WS_VISIBLE | BS_CHECKBOX | BS_AUTOCHECKBOX,rect,&m_Stat,no);
no++;
i+=10;
}



GeneralCImg Problem Pin
m_amin8325-Jun-05 5:08
m_amin8325-Jun-05 5:08 
GeneralRe: CImg Problem Pin
charlieg25-Jun-05 5:16
charlieg25-Jun-05 5:16 
Generalevolutionry artificial neural network (neural network with genetic algorithm) Pin
aabusalah25-Jun-05 4:32
aabusalah25-Jun-05 4:32 
QuestionCan Check? Print button pressed in Print Preview Pin
ugur_basak25-Jun-05 3:27
ugur_basak25-Jun-05 3:27 
Questionis it possible to control flash input fields using IWebBrowser2? Pin
Anonymous25-Jun-05 1:49
Anonymous25-Jun-05 1:49 
Questionabout Coordinate Map Mode and compatible DC ??? Pin
AntonlioX25-Jun-05 0:07
AntonlioX25-Jun-05 0:07 
AnswerRe: about Coordinate Map Mode and compatible DC ??? Pin
charlieg25-Jun-05 5:24
charlieg25-Jun-05 5:24 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
AntonlioX25-Jun-05 6:14
AntonlioX25-Jun-05 6:14 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
AntonlioX25-Jun-05 6:21
AntonlioX25-Jun-05 6:21 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
charlieg25-Jun-05 7:26
charlieg25-Jun-05 7:26 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
AntonlioX25-Jun-05 9:12
AntonlioX25-Jun-05 9:12 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
charlieg25-Jun-05 14:08
charlieg25-Jun-05 14:08 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
Jose Lamas Rios25-Jun-05 18:16
Jose Lamas Rios25-Jun-05 18:16 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
AntonlioX25-Jun-05 19:25
AntonlioX25-Jun-05 19:25 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
Jose Lamas Rios26-Jun-05 11:28
Jose Lamas Rios26-Jun-05 11:28 
GeneralRe: about Coordinate Map Mode and compatible DC ??? Pin
Pazzuzu5-Jul-05 1:20
Pazzuzu5-Jul-05 1:20 
GeneralCList For Non CObject derived class (vs CTypedPtrList) Pin
yccheok24-Jun-05 23:11
yccheok24-Jun-05 23:11 

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.