Click here to Skip to main content
15,898,737 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thanks naveen Pin
Naveen3-Sep-07 23:13
Naveen3-Sep-07 23:13 
AnswerRe: [SOLVED]Automating File Deletion Pin
Waldermort3-Sep-07 23:37
Waldermort3-Sep-07 23:37 
AnswerRe: [SOLVED]Automating File Deletion Pin
Hamid_RT4-Sep-07 2:02
Hamid_RT4-Sep-07 2:02 
QuestionWhich is the latest version of VC++ ??? Pin
Neo Andreson3-Sep-07 21:28
Neo Andreson3-Sep-07 21:28 
AnswerRe: Which is the latest version of VC++ ??? Pin
Maxwell Chen3-Sep-07 21:57
Maxwell Chen3-Sep-07 21:57 
AnswerRe: Which is the latest version of VC++ ??? Pin
Naveen3-Sep-07 21:58
Naveen3-Sep-07 21:58 
GeneralRe: Which is the latest version of VC++ ??? Pin
Neo Andreson3-Sep-07 22:54
Neo Andreson3-Sep-07 22:54 
QuestionShrink graphics area (GDI+ Graphics) Pin
TheShihan3-Sep-07 21:25
TheShihan3-Sep-07 21:25 
Hi,

On my Dialog I've got a "picture control" element. It is assigned with a var "m_pictureControl" in the code.

I draw an image inside the border of the picture control with GDI+. The problem that occurs is, that the image overpaints the border of the picture control (only when zoomed, otherwise I can shrink it, so that it can fit inside).

I get the area where the image will be drawed like that:
CClientDC dc(&m_pictureControl);
Graphics graphics(dc);


So it will have the dimension of the picture control, but unfortunately with the borders. Is there a way to somehow shrink the "graphics" object/area?

Thx, Shi
AnswerRe: Shrink graphics area (GDI+ Graphics) Pin
Llasus3-Sep-07 21:31
Llasus3-Sep-07 21:31 
AnswerRe: Shrink graphics area (GDI+ Graphics) Pin
Naveen3-Sep-07 21:54
Naveen3-Sep-07 21:54 
GeneralRe: Shrink graphics area (GDI+ Graphics) Pin
TheShihan3-Sep-07 22:38
TheShihan3-Sep-07 22:38 
GeneralRe: Shrink graphics area (GDI+ Graphics) Pin
Naveen3-Sep-07 22:54
Naveen3-Sep-07 22:54 
GeneralRe: Shrink graphics area (GDI+ Graphics) Pin
TheShihan3-Sep-07 23:45
TheShihan3-Sep-07 23:45 
GeneralRe: Shrink graphics area (GDI+ Graphics) Pin
Naveen3-Sep-07 23:51
Naveen3-Sep-07 23:51 
Questionprinting problem on A4 size paper??? Pin
Neo Andreson3-Sep-07 21:25
Neo Andreson3-Sep-07 21:25 
AnswerRe: printing problem on A4 size paper??? Pin
Llasus3-Sep-07 21:33
Llasus3-Sep-07 21:33 
AnswerRe: printing problem on A4 size paper??? Pin
Nishad S3-Sep-07 22:08
Nishad S3-Sep-07 22:08 
AnswerRe: printing problem on A4 size paper??? Pin
Anurag Gandhi3-Sep-07 22:44
professionalAnurag Gandhi3-Sep-07 22:44 
QuestionCompression Pin
shakumar_223-Sep-07 20:46
shakumar_223-Sep-07 20:46 
AnswerRe: Compression Pin
Llasus3-Sep-07 20:55
Llasus3-Sep-07 20:55 
GeneralRe: Compression Pin
shakumar_223-Sep-07 21:04
shakumar_223-Sep-07 21:04 
GeneralRe: Compression Pin
Paresh Chitte3-Sep-07 21:49
Paresh Chitte3-Sep-07 21:49 
AnswerRe: Compression Pin
Paresh Chitte3-Sep-07 21:00
Paresh Chitte3-Sep-07 21:00 
AnswerRe: Compression Pin
Maxwell Chen3-Sep-07 22:02
Maxwell Chen3-Sep-07 22:02 
AnswerRe: Compression Pin
jhwurmbach3-Sep-07 22:14
jhwurmbach3-Sep-07 22:14 

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.