Click here to Skip to main content
15,887,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to put a carriage return into a CView object? Pin
Chris Meech5-Jan-04 8:45
Chris Meech5-Jan-04 8:45 
GeneralRe: How to put a carriage return into a CView object? Pin
Cyrus Dang5-Jan-04 8:49
Cyrus Dang5-Jan-04 8:49 
AnswerRe: How to put a carriage return into a CView object? Pin
David Crow5-Jan-04 7:29
David Crow5-Jan-04 7:29 
AnswerRe: How to put a carriage return into a CView object? Pin
Nick Hodapp5-Jan-04 8:31
sitebuilderNick Hodapp5-Jan-04 8:31 
GeneralRe: How to put a carriage return into a CView object? Pin
Cyrus Dang5-Jan-04 8:38
Cyrus Dang5-Jan-04 8:38 
GeneralLoading Bitmaps Pin
FieldHawk5-Jan-04 7:12
FieldHawk5-Jan-04 7:12 
GeneralRe: Loading Bitmaps Pin
David Crow5-Jan-04 7:17
David Crow5-Jan-04 7:17 
GeneralRe: Loading Bitmaps Pin
abc8765-Jan-04 8:04
abc8765-Jan-04 8:04 
Here is a simple code to load and siplay any bitmap from resource file. d is a pointer to CDC , while IDB_BITMAP1 is name of BITMAP resource which u want to display..
<br />
  <br />
  //d is pointer to CDC<br />
  CDC dc;<br />
  CBitmap bitmap;<br />
  bitmap.LoadBitmap(IDB_BITMAP1);<br />
  dc.CreateCompatibleDC(d);<br />
  d->SelectObject(&bitmap);<br />
  d->BitBlt(0,0,100,100,&dc,0,0,SRCCOPY);<br />
<br />




Muhammad Shoaib Khan
http://geocities.com/lansolution
GeneralVC++6, ODBC, and Access 2000 Pin
Roger Wright5-Jan-04 6:42
professionalRoger Wright5-Jan-04 6:42 
GeneralRe: VC++6, ODBC, and Access 2000 Pin
FieldHawk5-Jan-04 7:23
FieldHawk5-Jan-04 7:23 
GeneralRe: VC++6, ODBC, and Access 2000 Pin
Chris Meech5-Jan-04 7:26
Chris Meech5-Jan-04 7:26 
GeneralRe: VC++6, ODBC, and Access 2000 Pin
Roger Wright5-Jan-04 7:50
professionalRoger Wright5-Jan-04 7:50 
GeneralRe: VC++6, ODBC, and Access 2000 Pin
David Crow5-Jan-04 7:27
David Crow5-Jan-04 7:27 
GeneralVC++ .NET 2002 and 2003 Pro Pin
jdgonko5-Jan-04 6:26
jdgonko5-Jan-04 6:26 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
abc8765-Jan-04 6:44
abc8765-Jan-04 6:44 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
Chris Meech5-Jan-04 7:36
Chris Meech5-Jan-04 7:36 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
abc8765-Jan-04 7:55
abc8765-Jan-04 7:55 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
Chris Meech5-Jan-04 8:15
Chris Meech5-Jan-04 8:15 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
Nick Hodapp5-Jan-04 7:25
sitebuilderNick Hodapp5-Jan-04 7:25 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
Nick Hodapp5-Jan-04 7:28
sitebuilderNick Hodapp5-Jan-04 7:28 
GeneralRe: VC++ .NET 2002 and 2003 Pro Pin
jdgonko5-Jan-04 7:43
jdgonko5-Jan-04 7:43 
QuestionBitmaps on Static Controls, How to ? Pin
rpadrela5-Jan-04 6:05
rpadrela5-Jan-04 6:05 
AnswerRe: Bitmaps on Static Controls, How to ? Pin
twing5-Jan-04 17:15
twing5-Jan-04 17:15 
Generalprinting question Pin
ns5-Jan-04 5:16
ns5-Jan-04 5:16 
GeneralRe: printing question Pin
David Crow5-Jan-04 7:32
David Crow5-Jan-04 7:32 

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.