Click here to Skip to main content
15,902,896 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using 3rd Party API ?? Pin
Deepak Khajuria19-Jun-03 22:28
Deepak Khajuria19-Jun-03 22:28 
GeneralRe: Using 3rd Party API ?? Pin
slnarasimhan19-Jun-03 22:32
slnarasimhan19-Jun-03 22:32 
GeneralRe: Using 3rd Party API ?? Pin
Deepak Khajuria19-Jun-03 23:12
Deepak Khajuria19-Jun-03 23:12 
GeneralRe: Using 3rd Party API ?? Pin
slnarasimhan19-Jun-03 23:19
slnarasimhan19-Jun-03 23:19 
GeneralRe: Using 3rd Party API ?? Pin
Deepak Khajuria19-Jun-03 23:41
Deepak Khajuria19-Jun-03 23:41 
GeneralRe: Using 3rd Party API ?? Pin
slnarasimhan19-Jun-03 23:58
slnarasimhan19-Jun-03 23:58 
GeneralRe: Using 3rd Party API ?? Pin
slnarasimhan20-Jun-03 0:02
slnarasimhan20-Jun-03 0:02 
QuestionHow can a parent control draw on child controls? Pin
Arun Bhalla19-Jun-03 21:16
Arun Bhalla19-Jun-03 21:16 
I'm developing a C#/WinForms application which features a desktop control (Panel) that contains child controls (also Panels). The child controls may contain Buttons.

Sometimes I need to draw arrows between a Button in one child control to a Button in another child control. This arrow drawing is handled by the desktop control's OnPaint method. In the current implementation, the arrows are behind all of the desktop control's child controls. What I would prefer, though, is for the arrows to be drawn in front of the child controls, i.e. above or on the child controls.

How can I do this? Do I have to trap for something in desktop's WndProc, and then paint the arrows after Control.WndProc handles it? Would that work? Is there a better way?
AnswerRe: How can a parent control draw on child controls? Pin
KingTermite20-Jun-03 6:56
KingTermite20-Jun-03 6:56 
GeneralRe: How can a parent control draw on child controls? Pin
Arun Bhalla20-Jun-03 12:46
Arun Bhalla20-Jun-03 12:46 
GeneralRe: How can a parent control draw on child controls? Pin
lxwde7-Dec-05 15:34
lxwde7-Dec-05 15:34 
GeneralCreate Pen Pin
dichen19-Jun-03 18:44
dichen19-Jun-03 18:44 
GeneralRe: Create Pen Pin
Nick Parker19-Jun-03 19:02
protectorNick Parker19-Jun-03 19:02 
GeneralRe: Create Pen Pin
Arun Bhalla19-Jun-03 21:28
Arun Bhalla19-Jun-03 21:28 
GeneralRe: Create Pen Pin
J. Dunlap19-Jun-03 21:35
J. Dunlap19-Jun-03 21:35 
GeneralMy painting code runs like a dog Pin
paulb19-Jun-03 14:44
paulb19-Jun-03 14:44 
GeneralRe: My painting code runs like a dog Pin
James T. Johnson19-Jun-03 16:44
James T. Johnson19-Jun-03 16:44 
GeneralRe: My painting code runs like a dog Pin
paulb19-Jun-03 17:10
paulb19-Jun-03 17:10 
GeneralCustom Forms Pin
Anonymous19-Jun-03 9:23
Anonymous19-Jun-03 9:23 
GeneralRe: Custom Forms Pin
Kannan Kalyanaraman19-Jun-03 22:20
Kannan Kalyanaraman19-Jun-03 22:20 
Questionwhere did my toolbox form controlls go??? Pin
ken-l119-Jun-03 6:10
ken-l119-Jun-03 6:10 
AnswerRe: where did my toolbox form controlls go??? Pin
leppie19-Jun-03 7:06
leppie19-Jun-03 7:06 
AnswerRe: where did my toolbox form controlls go??? Pin
dazinith19-Jun-03 7:30
dazinith19-Jun-03 7:30 
GeneralManipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 5:53
Steve McLenithan19-Jun-03 5:53 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Dimitris Iliopoulos19-Jun-03 8:13
Dimitris Iliopoulos19-Jun-03 8:13 

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.