Click here to Skip to main content
16,007,932 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Mesh Files Pin
El Corazon21-Aug-07 8:07
El Corazon21-Aug-07 8:07 
GeneralRe: Mesh Files Pin
MarkB77721-Aug-07 13:46
MarkB77721-Aug-07 13:46 
GeneralRe: Mesh Files Pin
El Corazon21-Aug-07 13:53
El Corazon21-Aug-07 13:53 
AnswerRe: Mesh Files Pin
Pete O'Hanlon13-Sep-07 9:55
mvePete O'Hanlon13-Sep-07 9:55 
GeneralRe: Mesh Files Pin
MarkB77713-Sep-07 12:43
MarkB77713-Sep-07 12:43 
GeneralRe: Mesh Files Pin
Pete O'Hanlon13-Sep-07 23:41
mvePete O'Hanlon13-Sep-07 23:41 
QuestionDrawing overlays over button controls Pin
JVilmaire19-Aug-07 11:46
JVilmaire19-Aug-07 11:46 
AnswerRe: Drawing overlays over button controls Pin
Ian Shlasko21-Aug-07 7:28
Ian Shlasko21-Aug-07 7:28 
Painting on the form doesn't work, because all form drawing takes place on a layer behind the controls. I see two possible solutions, depending on what you're trying to accomplish...

1) If you just need to draw something on the button itself, try subclassing the button and inserting your own OnPaint code (After a base.OnPaint call)

2) If you're drawing on both the form -and- the button, like an arrow pointing to the control, your transparent form idea might work.

It might take some tweaking, but you can override the WndProc method to pass the WM_NCHITTEST message (I think that's the one), always returning the value for Nothing (I think the constant is called HTNOTHING).

Windows calls this when the user tries to interact with something, to determine which process/thread/control should receive the event. This basically tells it that your form isn't really there, as far as input is concerned.
QuestionArc/Pie Drawing in WinCE (Algorithm) Pin
himuskanhere17-Aug-07 0:15
himuskanhere17-Aug-07 0:15 
QuestionWinCE Does not support MFC's ARC/Pie . Pin
himuskanhere17-Aug-07 1:53
himuskanhere17-Aug-07 1:53 
QuestionOpenGl in vb6 Pin
haggenx16-Aug-07 11:04
haggenx16-Aug-07 11:04 
AnswerRe: OpenGl in vb6 Pin
El Corazon16-Aug-07 13:57
El Corazon16-Aug-07 13:57 
GeneralRe: OpenGl in vb6 Pin
haggenx17-Aug-07 11:04
haggenx17-Aug-07 11:04 
Questioncmbine parts of the images to complete the picture Pin
mresh12-Aug-07 17:03
mresh12-Aug-07 17:03 
AnswerRe: cmbine parts of the images to complete the picture Pin
Mark Salsbery13-Aug-07 10:30
Mark Salsbery13-Aug-07 10:30 
AnswerRe: cmbine parts of the images to complete the picture Pin
El Corazon13-Aug-07 14:20
El Corazon13-Aug-07 14:20 
Questioncurious... for the professional graphics folks here. Pin
El Corazon9-Aug-07 11:26
El Corazon9-Aug-07 11:26 
AnswerRe: curious... for the professional graphics folks here. Pin
Tim Craig11-Aug-07 18:42
Tim Craig11-Aug-07 18:42 
Questionfilling Arbitrary Area..usin MFC Pin
himuskanhere8-Aug-07 23:10
himuskanhere8-Aug-07 23:10 
AnswerRe: filling Arbitrary Area..usin MFC Pin
Luc Pattyn9-Aug-07 2:07
sitebuilderLuc Pattyn9-Aug-07 2:07 
QuestionHow to make an image (bmp) transparent? Pin
bholoo8-Aug-07 5:32
bholoo8-Aug-07 5:32 
AnswerRe: How to make an image (bmp) transparent? Pin
Mark Salsbery8-Aug-07 6:41
Mark Salsbery8-Aug-07 6:41 
AnswerRe: How to make an image (bmp) transparent? Pin
Richard Blythe8-Aug-07 17:10
Richard Blythe8-Aug-07 17:10 
QuestionHow to calculate the number of lines in .Png file Pin
zxc897-Aug-07 20:06
zxc897-Aug-07 20:06 
AnswerRe: How to calculate the number of lines in .Png file Pin
Christian Graus7-Aug-07 20:14
protectorChristian Graus7-Aug-07 20: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.