Click here to Skip to main content
15,910,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Repost Pin
ptr_Electron4-Mar-08 3:38
ptr_Electron4-Mar-08 3:38 
GeneralRe: Repost Pin
Cedric Moonen4-Mar-08 4:02
Cedric Moonen4-Mar-08 4:02 
GeneralRe: display progress bar on the MainFrame Pin
Randor 4-Mar-08 4:04
professional Randor 4-Mar-08 4:04 
QuestionHow to inject a dll into another process ? Pin
tina->newcoder4-Mar-08 2:51
tina->newcoder4-Mar-08 2:51 
GeneralRe: How to inject a dll into another process ? Pin
Alexander M.,4-Mar-08 3:11
Alexander M.,4-Mar-08 3:11 
QuestionRe: How to inject a dll into another process ? Pin
Rajkumar R4-Mar-08 3:16
Rajkumar R4-Mar-08 3:16 
GeneralRe: How to inject a dll into another process ? Pin
David Crow4-Mar-08 3:56
David Crow4-Mar-08 3:56 
GeneralRe: How to inject a dll into another process ? Pin
ThatsAlok4-Mar-08 20:39
ThatsAlok4-Mar-08 20:39 
GeneralProgress bar on Mainfram, while lengthy prosses on Dialog btn press event Pin
ptr_Electron4-Mar-08 2:49
ptr_Electron4-Mar-08 2:49 
GeneralRe: Progress bar on Mainfram, while lengthy prosses on Dialog btn press event Pin
David Crow4-Mar-08 3:20
David Crow4-Mar-08 3:20 
GeneralRe: Progress bar on Mainfram, while lengthy prosses on Dialog btn press event Pin
ptr_Electron4-Mar-08 3:37
ptr_Electron4-Mar-08 3:37 
GeneralRe: Progress bar on Mainfram, while lengthy prosses on Dialog btn press event Pin
David Crow4-Mar-08 3:48
David Crow4-Mar-08 3:48 
GeneralRe: Progress bar on Mainfram, while lengthy prosses on Dialog btn press event Pin
Randor 4-Mar-08 4:02
professional Randor 4-Mar-08 4:02 
GeneralProblem in property sheet.. Pin
Ashish Chauhan4-Mar-08 2:06
Ashish Chauhan4-Mar-08 2:06 
AnswerRe: Problem in property sheet.. Pin
Rajkumar R4-Mar-08 4:59
Rajkumar R4-Mar-08 4:59 
GeneralRe: Problem in property sheet.. Pin
Maxwell Chen4-Mar-08 18:29
Maxwell Chen4-Mar-08 18:29 
GeneralRe: Problem in property sheet.. Pin
Ashish Chauhan4-Mar-08 18:41
Ashish Chauhan4-Mar-08 18:41 
GeneralRe: Problem in property sheet.. Pin
ThatsAlok4-Mar-08 20:40
ThatsAlok4-Mar-08 20:40 
GeneralRe: Problem in property sheet.. Pin
toxcct4-Mar-08 9:58
toxcct4-Mar-08 9:58 
GeneralRe: Problem in property sheet.. Pin
ThatsAlok4-Mar-08 20:40
ThatsAlok4-Mar-08 20:40 
Questionhow to add an image in the form in vc++?? Pin
savitri4-Mar-08 1:15
savitri4-Mar-08 1:15 
GeneralRe: how to add an image in the form in vc++?? Pin
jossion4-Mar-08 1:24
jossion4-Mar-08 1:24 
In visual C project (MFC type) go to insert menu and select bitmap option. Browse for your picture file and add it.Under resources tab in the project navigator check the ID of the bitmap file. Then under OnPaint() function add this piece of code.

CPaintDC dc(this);

CBitmap bmp , *poldBmp;
CDC memdc;

bmp.LoadBitmap(IDB_BITMAP1); // IDB_BITMAP1 is the ID of the bitmap loaded

mdmdc.CreateCOmpatibleDC(&dc);

poldBmp= memdc.SelectObject(&bmp);

dc.BitBlt(10,10,47,47,&memdc,0,0,SRCCOPY);
memdc.SelectObject(poldBmp);

//Do not call CDialog::Onpaint() for painting
GeneralRe: how to add an image in the form in vc++?? Pin
Hamid_RT4-Mar-08 4:21
Hamid_RT4-Mar-08 4:21 
AnswerRe: how to add an image in the form in vc++?? [modified] Pin
Rajkumar R4-Mar-08 1:31
Rajkumar R4-Mar-08 1:31 
GeneralRe: how to add an image in the form in vc++?? Pin
Hamid_RT4-Mar-08 4:20
Hamid_RT4-Mar-08 4:20 

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.