Click here to Skip to main content
15,916,846 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionspread list control on CFromView Pin
Max++28-May-07 5:14
Max++28-May-07 5:14 
AnswerRe: spread list control on CFromView Pin
Mark Salsbery28-May-07 7:03
Mark Salsbery28-May-07 7:03 
QuestionHow to change font of Tooltip control? Pin
Atul2328-May-07 5:07
Atul2328-May-07 5:07 
AnswerRe: How to change font of Tooltip control? Pin
Hamid_RT28-May-07 6:03
Hamid_RT28-May-07 6:03 
QuestionExporting Class Constructer Pin
Programm3r28-May-07 4:35
Programm3r28-May-07 4:35 
AnswerRe: Exporting Class Constructer Pin
Programm3r28-May-07 4:54
Programm3r28-May-07 4:54 
QuestionHow to draw on picture control? Pin
xuqianmylove28-May-07 4:01
xuqianmylove28-May-07 4:01 
GeneralRe: How to draw on picture control? Pin
Matthew Faithfull28-May-07 5:59
Matthew Faithfull28-May-07 5:59 
Your best bet would probably be to render the JPG to a memory bitmap, then draw on the memory bitmap with GDI and display the result in the Picture control. The down side of this is you'll need to be able to un-jpeg the jpeg without the help of the control. Another option would be to subclass the control, override its handling of WM_PAINT to do the original painting and then add your own. There are lots of subclassing examples and tutorials about on CP and elsewhere.
No sample I'm afraid, it would be quite a lot of code and I'm notoriously lazy Blush | :O .
You could provide more details though of which picture control/language/libraries you're using. Someone out there is bound to have hit the same hurdle.

Nothing is exactly what it seems but everything with seems can be unpicked.

AnswerRe: How to draw on picture control? Pin
Hamid_RT28-May-07 6:06
Hamid_RT28-May-07 6:06 
AnswerRe: How to draw on picture control? Pin
Hamid_RT29-May-07 6:01
Hamid_RT29-May-07 6:01 
QuestionCheck file By HTTP protocol on a remot system Pin
rsgdba28-May-07 3:32
rsgdba28-May-07 3:32 
QuestionWant to To change from Console mode to Windows mode at run time Pin
vikrantc135528-May-07 3:08
vikrantc135528-May-07 3:08 
AnswerRe: Want to To change from Console mode to Windows mode at run time Pin
Matthew Faithfull28-May-07 6:14
Matthew Faithfull28-May-07 6:14 
GeneralRe: Want to To change from Console mode to Windows mode at run time Pin
vikrantc135528-May-07 20:01
vikrantc135528-May-07 20:01 
GeneralRe: Want to To change from Console mode to Windows mode at run time Pin
Matthew Faithfull29-May-07 7:26
Matthew Faithfull29-May-07 7:26 
QuestionAccessing remote database using mfc Pin
Vikas_12328-May-07 3:02
Vikas_12328-May-07 3:02 
JokeGreat! Pin
CPallini28-May-07 3:06
mveCPallini28-May-07 3:06 
GeneralRe: Great! Pin
Vikas_12328-May-07 19:48
Vikas_12328-May-07 19:48 
AnswerRe: Accessing remote database using mfc Pin
Matthew Faithfull28-May-07 6:38
Matthew Faithfull28-May-07 6:38 
QuestionHow to navigate to a different URL in the same browser instance, through ActiveX plug-In? Pin
vrushaliD28-May-07 2:54
vrushaliD28-May-07 2:54 
QuestionHow to havigate to a different URL in the same browser instance through ActiveX Plug-In? Pin
vrushaliD28-May-07 2:52
vrushaliD28-May-07 2:52 
QuestionUsing PNG / TIF format images in Button control and background Pin
BlrBoy28-May-07 2:47
BlrBoy28-May-07 2:47 
AnswerRe: Using PNG / TIF format images in Button control and background Pin
CPallini28-May-07 3:05
mveCPallini28-May-07 3:05 
AnswerRe: Using PNG / TIF format images in Button control and background Pin
Hamid_RT28-May-07 6:58
Hamid_RT28-May-07 6:58 
Questionvisual studio Pin
deeps_cute28-May-07 2:36
deeps_cute28-May-07 2:36 

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.