Click here to Skip to main content
14,742,951 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thanks naveen Pin
Naveen4-Sep-07 0:13
MemberNaveen4-Sep-07 0:13 
AnswerRe: [SOLVED]Automating File Deletion Pin
Waldermort4-Sep-07 0:37
MemberWaldermort4-Sep-07 0:37 
AnswerRe: [SOLVED]Automating File Deletion Pin
Hamid_RT4-Sep-07 3:02
MemberHamid_RT4-Sep-07 3:02 
QuestionWhich is the latest version of VC++ ??? Pin
Neo Andreson3-Sep-07 22:28
MemberNeo Andreson3-Sep-07 22:28 
AnswerRe: Which is the latest version of VC++ ??? Pin
Maxwell Chen3-Sep-07 22:57
MemberMaxwell Chen3-Sep-07 22:57 
AnswerRe: Which is the latest version of VC++ ??? Pin
Naveen3-Sep-07 22:58
MemberNaveen3-Sep-07 22:58 
GeneralRe: Which is the latest version of VC++ ??? Pin
Neo Andreson3-Sep-07 23:54
MemberNeo Andreson3-Sep-07 23:54 
QuestionShrink graphics area (GDI+ Graphics) Pin
TheShihan3-Sep-07 22:25
MemberTheShihan3-Sep-07 22: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 22:31
MemberLlasus3-Sep-07 22:31 
AnswerRe: Shrink graphics area (GDI+ Graphics) Pin
Naveen3-Sep-07 22:54
MemberNaveen3-Sep-07 22:54 
GeneralRe: Shrink graphics area (GDI+ Graphics) Pin
TheShihan3-Sep-07 23:38
MemberTheShihan3-Sep-07 23:38 
GeneralRe: Shrink graphics area (GDI+ Graphics) Pin
Naveen3-Sep-07 23:54
MemberNaveen3-Sep-07 23:54 
GeneralRe: Shrink graphics area (GDI+ Graphics) Pin
TheShihan4-Sep-07 0:45
MemberTheShihan4-Sep-07 0:45 
GeneralRe: Shrink graphics area (GDI+ Graphics) Pin
Naveen4-Sep-07 0:51
MemberNaveen4-Sep-07 0:51 
Questionprinting problem on A4 size paper??? Pin
Neo Andreson3-Sep-07 22:25
MemberNeo Andreson3-Sep-07 22:25 
AnswerRe: printing problem on A4 size paper??? Pin
Llasus3-Sep-07 22:33
MemberLlasus3-Sep-07 22:33 
AnswerRe: printing problem on A4 size paper??? Pin
Nishad S3-Sep-07 23:08
MemberNishad S3-Sep-07 23:08 
AnswerRe: printing problem on A4 size paper??? Pin
Anurag Gandhi3-Sep-07 23:44
professionalAnurag Gandhi3-Sep-07 23:44 
QuestionCompression Pin
shakumar_223-Sep-07 21:46
Membershakumar_223-Sep-07 21:46 
AnswerRe: Compression Pin
Llasus3-Sep-07 21:55
MemberLlasus3-Sep-07 21:55 
GeneralRe: Compression Pin
shakumar_223-Sep-07 22:04
Membershakumar_223-Sep-07 22:04 
GeneralRe: Compression Pin
Paresh Chitte3-Sep-07 22:49
MemberParesh Chitte3-Sep-07 22:49 
AnswerRe: Compression Pin
Paresh Chitte3-Sep-07 22:00
MemberParesh Chitte3-Sep-07 22:00 
AnswerRe: Compression Pin
Maxwell Chen3-Sep-07 23:02
MemberMaxwell Chen3-Sep-07 23:02 
AnswerRe: Compression Pin
jhwurmbach3-Sep-07 23:14
Memberjhwurmbach3-Sep-07 23: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.