Click here to Skip to main content
16,009,484 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Layering bitmaps Pin
Jagadeesh VN11-Sep-03 20:28
Jagadeesh VN11-Sep-03 20:28 
GeneralRe: Layering bitmaps Pin
smjones14-Sep-03 15:03
smjones14-Sep-03 15:03 
GeneralChanging exe name. Pin
Matt Gates11-Sep-03 18:07
Matt Gates11-Sep-03 18:07 
GeneralRe: Changing exe name. Pin
Vadim Tabakman11-Sep-03 18:17
Vadim Tabakman11-Sep-03 18:17 
GeneralRe: Changing exe name. Pin
Matt Gates12-Sep-03 7:42
Matt Gates12-Sep-03 7:42 
QuestionHow to search a device,such as USB device? Pin
njbull11-Sep-03 17:58
njbull11-Sep-03 17:58 
QuestionIs there any method for drawing box without using MFC? Pin
nwillie11-Sep-03 17:46
nwillie11-Sep-03 17:46 
GeneralPrint Picture Pin
vancouver77711-Sep-03 16:36
vancouver77711-Sep-03 16:36 
I am trying to print out everything in Picturebox.
I can't print out anything except blank.
Here is my source in MyViewClass::OnPrint(CDC* pDC, CPrintInfo* pInfo ) and please help me how I am doing wrong?

CRect rect;
GetWindowRect(&rect);

//CDC* pTempDC = GetWindowDC();
CDC memDC;
//IGBMapViewCtrl d;
//d.GetDC();
memDC.CreateCompatibleDC( pDC );

// create bitmap with my window-pDC and set it in the memory-DC
CBitmap bitmap;
bitmap.CreateCompatibleBitmap( m_MapView.GetDC(), rect.Width(), rect.Height());
memDC.SelectObject(&bitmap);

// open printer dialog

// detach DCs
bitmap.Detach();
GeneralRe: Print Picture Pin
cje12-Sep-03 4:42
cje12-Sep-03 4:42 
GeneralRe: Print Picture Pin
sdfdsfa12-Sep-03 5:15
sdfdsfa12-Sep-03 5:15 
GeneralRe: Print Picture Pin
vancouver77712-Sep-03 5:15
vancouver77712-Sep-03 5:15 
GeneralDocument Depends On View Size Pin
Shawn Carroll11-Sep-03 13:57
Shawn Carroll11-Sep-03 13:57 
QuestionSort a combo box alphabetically *and* numerically? Pin
Member 9611-Sep-03 12:54
Member 9611-Sep-03 12:54 
AnswerRe: Sort a combo box alphabetically *and* numerically? Pin
Ryan_Roberts11-Sep-03 14:02
Ryan_Roberts11-Sep-03 14:02 
GeneralRe: Sort a combo box alphabetically *and* numerically? Pin
Member 9611-Sep-03 14:06
Member 9611-Sep-03 14:06 
AnswerRe: Sort a combo box alphabetically *and* numerically? Pin
JWood11-Sep-03 14:05
JWood11-Sep-03 14:05 
GeneralRe: Sort a combo box alphabetically *and* numerically? Pin
Member 9611-Sep-03 14:37
Member 9611-Sep-03 14:37 
AnswerRe: Sort a combo box alphabetically *and* numerically? Pin
Abin11-Sep-03 14:19
Abin11-Sep-03 14:19 
GeneralRe: Sort a combo box alphabetically *and* numerically? Pin
Member 9611-Sep-03 14:38
Member 9611-Sep-03 14:38 
AnswerRe: Sort a combo box alphabetically *and* numerically? Pin
Ian Darling12-Sep-03 0:28
Ian Darling12-Sep-03 0:28 
GeneralRe: Sort a combo box alphabetically *and* numerically? Pin
Member 9612-Sep-03 4:47
Member 9612-Sep-03 4:47 
QuestionHow to change the name and title of my application? Pin
Binayak11-Sep-03 11:57
Binayak11-Sep-03 11:57 
AnswerRe: How to change the name and title of my application? Pin
JWood11-Sep-03 14:08
JWood11-Sep-03 14:08 
AnswerRe: How to change the name and title of my application? Pin
JWood11-Sep-03 14:18
JWood11-Sep-03 14:18 
AnswerRe: How to change the name and title of my application? Pin
Dangleberry11-Sep-03 22:03
sussDangleberry11-Sep-03 22:03 

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.