Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionproblem with image scaning & displaing . win32 StretchDIBits () Pin
ashish8patil29-Jun-10 0:25
ashish8patil29-Jun-10 0:25 
QuestionOwnerdarw Combobox Pin
AbhiHcl28-Jun-10 23:33
AbhiHcl28-Jun-10 23:33 
AnswerRe: Ownerdarw Combobox Pin
Nibu babu thomas28-Jun-10 23:41
Nibu babu thomas28-Jun-10 23:41 
GeneralRe: Ownerdarw Combobox Pin
AbhiHcl28-Jun-10 23:47
AbhiHcl28-Jun-10 23:47 
GeneralRe: Ownerdarw Combobox Pin
Nibu babu thomas28-Jun-10 23:48
Nibu babu thomas28-Jun-10 23:48 
GeneralRe: Ownerdarw Combobox Pin
AbhiHcl28-Jun-10 23:54
AbhiHcl28-Jun-10 23:54 
GeneralRe: Ownerdarw Combobox Pin
Aescleal28-Jun-10 23:59
Aescleal28-Jun-10 23:59 
GeneralRe: Ownerdarw Combobox Pin
Nibu babu thomas29-Jun-10 2:01
Nibu babu thomas29-Jun-10 2:01 
AnswerRe: Ownerdarw Combobox Pin
Aescleal28-Jun-10 23:58
Aescleal28-Jun-10 23:58 
Questionswap different sized string Pin
rupeshkp72828-Jun-10 22:05
rupeshkp72828-Jun-10 22:05 
AnswerRe: swap different sized string Pin
Cedric Moonen28-Jun-10 22:14
Cedric Moonen28-Jun-10 22:14 
GeneralRe: swap different sized string Pin
rupeshkp72828-Jun-10 22:26
rupeshkp72828-Jun-10 22:26 
GeneralRe: swap different sized string Pin
Aescleal28-Jun-10 23:51
Aescleal28-Jun-10 23:51 
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++ PinPopular
SandipG 28-Jun-10 21:22
SandipG 28-Jun-10 21:22 

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.