Click here to Skip to main content
16,013,918 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionApplication Fails on Users Comp. How to understand what is happend ? Pin
alexcoder18-Jan-04 22:13
alexcoder18-Jan-04 22:13 
AnswerRe: Application Fails on Users Comp. How to understand what is happend ? Pin
22491719-Jan-04 0:43
22491719-Jan-04 0:43 
Generalsprintf Pin
styve18-Jan-04 21:04
styve18-Jan-04 21:04 
GeneralRe: sprintf Pin
Michael P Butler18-Jan-04 21:22
Michael P Butler18-Jan-04 21:22 
GeneralRe: sprintf Pin
styve19-Jan-04 3:07
styve19-Jan-04 3:07 
GeneralUsing MS Calendar control without resource editor Pin
Anonymous18-Jan-04 20:55
Anonymous18-Jan-04 20:55 
GeneralRe: Using MS Calendar control without resource editor Pin
lynhoo18-Jan-04 21:29
lynhoo18-Jan-04 21:29 
QuestionMFC: customize CFrameWnd background. How? Pin
lobanovski18-Jan-04 20:21
lobanovski18-Jan-04 20:21 
Hi all,

an MFC application, MDI. VC7. the wizard has generated few classes for me. and one of them is the main frame CMainFrame (CFrameWnd). If there are no children, the user can see light gray background. How can i customize this background (draw a bitmap)?

When i do ON_WM_PAINT ->
OnPaint(void)
{
CPaintDC dc(this);
// try to draw into dc
}
no effect! still standard light gray background!
how do i cutomize the way background drawn?

regards,
alex

debug - is my life style
AnswerRe: MFC: customize CFrameWnd background. How? Pin
PJ Arends18-Jan-04 20:39
professionalPJ Arends18-Jan-04 20:39 
GeneralRe: MFC: customize CFrameWnd background. How? Pin
lobanovski18-Jan-04 21:49
lobanovski18-Jan-04 21:49 
GeneralRule Editor code Pin
quzi18-Jan-04 20:02
quzi18-Jan-04 20:02 
GeneralXML-GUI Pin
Jerome Conus18-Jan-04 19:23
Jerome Conus18-Jan-04 19:23 
Generalseparating words in a string Pin
crimsonclear18-Jan-04 19:16
crimsonclear18-Jan-04 19:16 
GeneralRe: separating words in a string Pin
Jijo.Raj18-Jan-04 22:24
Jijo.Raj18-Jan-04 22:24 
GeneralRe: separating words in a string Pin
Sumit Kapoor19-Jan-04 2:17
Sumit Kapoor19-Jan-04 2:17 
GeneralRe: separating words in a string Pin
22491719-Jan-04 2:18
22491719-Jan-04 2:18 
GeneralRe: separating words in a string Pin
David Crow19-Jan-04 2:32
David Crow19-Jan-04 2:32 
Generalclosing an application Pin
misha_grewal18-Jan-04 18:36
misha_grewal18-Jan-04 18:36 
GeneralRe: closing an application Pin
Michael Dunn18-Jan-04 19:41
sitebuilderMichael Dunn18-Jan-04 19:41 
GeneralafxMapHWND() returns null in CWnd::AssertValid Pin
wilsonian18-Jan-04 17:42
wilsonian18-Jan-04 17:42 
GeneralRe: afxMapHWND() returns null in CWnd::AssertValid Pin
Monty218-Jan-04 18:41
Monty218-Jan-04 18:41 
GeneralMemory Management with variables Pin
IceBerG7118-Jan-04 15:13
IceBerG7118-Jan-04 15:13 
GeneralRe: Memory Management with variables Pin
Stefan Pedersen18-Jan-04 15:26
Stefan Pedersen18-Jan-04 15:26 
GeneralRe: Memory Management with variables Pin
IceBerG7118-Jan-04 15:39
IceBerG7118-Jan-04 15:39 
GeneralRe: Memory Management with variables Pin
Mike Dimmick18-Jan-04 23:27
Mike Dimmick18-Jan-04 23:27 

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.