Click here to Skip to main content
15,891,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionfopen increment Pin
manju 314-Feb-12 3:16
manju 314-Feb-12 3:16 
AnswerRe: fopen increment Pin
Maximilien14-Feb-12 4:16
Maximilien14-Feb-12 4:16 
AnswerRe: fopen increment Pin
«_Superman_»14-Feb-12 16:15
professional«_Superman_»14-Feb-12 16:15 
QuestionApplication Crash Pin
pix_programmer14-Feb-12 1:51
pix_programmer14-Feb-12 1:51 
AnswerRe: Application Crash Pin
Chris Losinger14-Feb-12 3:10
professionalChris Losinger14-Feb-12 3:10 
QuestionRe: Application Crash Pin
pix_programmer14-Feb-12 17:45
pix_programmer14-Feb-12 17:45 
QuestionPicture control Pin
sarfaraznawaz13-Feb-12 23:57
sarfaraznawaz13-Feb-12 23:57 
AnswerRe: Picture control Pin
Jochen Arndt14-Feb-12 0:25
professionalJochen Arndt14-Feb-12 0:25 
If you have added a picture control to your dialog using the dialog editor, gave that control an ID (it is initialized with IDC_STATIC) and add a CStatic member variable for the control to your dialog class.

Then load the bitmap from your resources from within OnInitDialog():
m_staticPic.SetBitmap(::LoadBitmap(NULL, MAKEINTRESOURCE(OBM_PIC1)));


See also CStatic::SetBitmap in the MFC library reference [^].
QuestionRemove warning "unused parameters" Pin
marca29213-Feb-12 21:53
marca29213-Feb-12 21:53 
AnswerRe: Remove warning "unused parameters" Pin
«_Superman_»13-Feb-12 21:56
professional«_Superman_»13-Feb-12 21:56 
GeneralRe: Remove warning "unused parameters" Pin
marca29213-Feb-12 22:00
marca29213-Feb-12 22:00 
QuestionToolbar and status bar disappear during client area update Pin
Lianqing13-Feb-12 13:30
Lianqing13-Feb-12 13:30 
AnswerRe: Toolbar and status bar disappear during client area update Pin
Richard MacCutchan13-Feb-12 22:25
mveRichard MacCutchan13-Feb-12 22:25 
GeneralRe: Toolbar and status bar disappear during client area update Pin
Lianqing14-Feb-12 2:16
Lianqing14-Feb-12 2:16 
GeneralRe: Toolbar and status bar disappear during client area update Pin
Richard MacCutchan14-Feb-12 5:30
mveRichard MacCutchan14-Feb-12 5:30 
QuestionFormat double precision Pin
_Flaviu13-Feb-12 7:52
_Flaviu13-Feb-12 7:52 
AnswerRe: Format double precision Pin
Maximilien13-Feb-12 8:09
Maximilien13-Feb-12 8:09 
AnswerRe: Format double precision Pin
Albert Holguin13-Feb-12 9:57
professionalAlbert Holguin13-Feb-12 9:57 
AnswerRe: Format double precision Pin
Chuck O'Toole13-Feb-12 13:22
Chuck O'Toole13-Feb-12 13:22 
AnswerRe: Format double precision Pin
Luke__Chen13-Feb-12 17:52
Luke__Chen13-Feb-12 17:52 
AnswerRe: Format double precision Pin
CPallini13-Feb-12 21:42
mveCPallini13-Feb-12 21:42 
AnswerRe: Format double precision Pin
rana ray14-Feb-12 0:42
rana ray14-Feb-12 0:42 
GeneralRe: Format double precision Pin
_Flaviu14-Feb-12 5:03
_Flaviu14-Feb-12 5:03 
AnswerRe: Format double precision Pin
Chuck O'Toole14-Feb-12 14:10
Chuck O'Toole14-Feb-12 14:10 
JokeRe: Format double precision Pin
Randor 15-Feb-12 13:47
professional Randor 15-Feb-12 13:47 

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.