Click here to Skip to main content
15,890,690 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: swap different sized string Pin
Adam Roderick J28-Jun-10 22:14
Adam Roderick J28-Jun-10 22:14 
GeneralRe: swap different sized string Pin
rupeshkp72828-Jun-10 22:40
rupeshkp72828-Jun-10 22:40 
AnswerRe: swap different sized string Pin
Niklas L28-Jun-10 22:29
Niklas L28-Jun-10 22:29 
NewsRe: swap different sized string Pin
rupeshkp72829-Jun-10 2:18
rupeshkp72829-Jun-10 2:18 
AnswerRe: swap different sized string Pin
Eugen Podsypalnikov28-Jun-10 22:30
Eugen Podsypalnikov28-Jun-10 22:30 
AnswerRe: swap different sized string Pin
Aescleal28-Jun-10 23:45
Aescleal28-Jun-10 23:45 
GeneralRe: swap different sized string Pin
rupeshkp72829-Jun-10 2:16
rupeshkp72829-Jun-10 2:16 
QuestionArray of Buttons [Solved] Pin
T.RATHA KRISHNAN28-Jun-10 21:36
T.RATHA KRISHNAN28-Jun-10 21:36 
Hi!
I've to create an Array of Buttons. I've created using the following code.

s32 uright_x = 10;   //Button's Positions
 s32 uright_y = 180;
 s32 lleft_x =  20;
 s32 lleft_y =  200;
 s32 id = 0;
 for(u32 i = 0; i<=14;i++)
 {
  irr::core::array<irr::gui::IGUIButton*> m_pPlayerBtn[i].push_back(pManager->getGUIEnvironment()->addButton(rect<s32>(uright_x, uright_y,     lleft_x+50, lleft_y+50), 0, id++, 0, 0));
  u32 size = m_pPlayerBtn->size();
  printf("id %u", id);
 }


When I run this code, only one button is displayed. But the printf("id %u", id); prints id of all the
15 buttons(from 1 to 15). Why only one but is displayed though all the buttons are created(since id is getting updated)? How to make all the button displayed? I've incremented the positions also.
AnswerRe: Array of Buttons Pin
Cedric Moonen28-Jun-10 21:50
Cedric Moonen28-Jun-10 21:50 
GeneralRe: Array of Buttons Pin
T.RATHA KRISHNAN28-Jun-10 22:13
T.RATHA KRISHNAN28-Jun-10 22:13 
QuestionIHTMLElement usage crash in VC++ Pin
Pk.j28-Jun-10 20:09
Pk.j28-Jun-10 20:09 
AnswerRe: IHTMLElement usage crash in VC++ Pin
SandipG 28-Jun-10 21:22
SandipG 28-Jun-10 21:22 
GeneralRe: IHTMLElement usage crash in VC++ Pin
Niklas L28-Jun-10 21:30
Niklas L28-Jun-10 21:30 
GeneralRe: IHTMLElement usage crash in VC++ Pin
Pk.j28-Jun-10 23:48
Pk.j28-Jun-10 23:48 
AnswerRe: IHTMLElement usage crash in VC++ Pin
Niklas L28-Jun-10 21:29
Niklas L28-Jun-10 21:29 
GeneralRe: IHTMLElement usage crash in VC++ Pin
Pk.j28-Jun-10 23:54
Pk.j28-Jun-10 23:54 
GeneralRe: IHTMLElement usage crash in VC++ Pin
Niklas L29-Jun-10 9:59
Niklas L29-Jun-10 9:59 
QuestionCDialogBar Usage very confusing.. Pin
ForNow28-Jun-10 6:56
ForNow28-Jun-10 6:56 
AnswerRe: CDialogBar Usage very confusing.. Pin
Niklas L28-Jun-10 8:32
Niklas L28-Jun-10 8:32 
GeneralRe: CDialogBar Usage very confusing.. Pin
ForNow28-Jun-10 8:45
ForNow28-Jun-10 8:45 
GeneralRe: CDialogBar Usage very confusing.. Pin
Niklas L28-Jun-10 8:53
Niklas L28-Jun-10 8:53 
GeneralRe: CDialogBar Usage very confusing.. Pin
ForNow28-Jun-10 9:01
ForNow28-Jun-10 9:01 
QuestionFolder Save Pin
mdocvc28-Jun-10 6:42
mdocvc28-Jun-10 6:42 
AnswerRe: Folder Save Pin
Rajesh R Subramanian28-Jun-10 6:55
professionalRajesh R Subramanian28-Jun-10 6:55 
AnswerRe: Folder Save Pin
rp_suman28-Jun-10 7:55
rp_suman28-Jun-10 7:55 

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.