Click here to Skip to main content
15,886,026 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionCrystal reports in visual studio 2010 for wpf application Pin
priom2227-Sep-12 18:06
priom2227-Sep-12 18:06 
AnswerRe: Crystal reports in visual studio 2010 for wpf application Pin
Richard MacCutchan27-Sep-12 21:58
mveRichard MacCutchan27-Sep-12 21:58 
QuestionStrange Design Problems With Infragistics Controls Pin
Kevin Marois26-Sep-12 5:41
professionalKevin Marois26-Sep-12 5:41 
AnswerRe: Strange Design Problems With Infragistics Controls Pin
BillWoodruff10-Oct-12 5:37
professionalBillWoodruff10-Oct-12 5:37 
QuestionInvoking excel thru a .bat file Pin
ForNow19-Sep-12 9:42
ForNow19-Sep-12 9:42 
AnswerRe: Invoking excel thru a .bat file Pin
Wes Aday19-Sep-12 10:42
professionalWes Aday19-Sep-12 10:42 
GeneralRe: Invoking excel thru a .bat file Pin
ForNow19-Sep-12 17:15
ForNow19-Sep-12 17:15 
GeneralRe: Invoking excel thru a .bat file Pin
Richard MacCutchan19-Sep-12 21:21
mveRichard MacCutchan19-Sep-12 21:21 
Question.docx to .pdf conversion Pin
Member 857432717-Sep-12 3:31
Member 857432717-Sep-12 3:31 
AnswerRe: .docx to .pdf conversion Pin
Andrei Straut17-Sep-12 3:52
Andrei Straut17-Sep-12 3:52 
GeneralRe: .docx to .pdf conversion Pin
Member 857432717-Sep-12 4:04
Member 857432717-Sep-12 4:04 
GeneralRe: .docx to .pdf conversion PinPopular
Andrei Straut17-Sep-12 4:11
Andrei Straut17-Sep-12 4:11 
QuestionDataGridView Collapse Top Border Pin
Mark Regal15-Sep-12 5:15
Mark Regal15-Sep-12 5:15 
QuestionInfragistics UltraGrid Pin
Kevin Marois12-Sep-12 5:49
professionalKevin Marois12-Sep-12 5:49 
AnswerRe: Infragistics UltraGrid Pin
Abhinav S12-Sep-12 7:37
Abhinav S12-Sep-12 7:37 
Questionabout c# Pin
pawan19937-Sep-12 2:03
pawan19937-Sep-12 2:03 
AnswerRe: about c# Pin
Wes Aday7-Sep-12 2:21
professionalWes Aday7-Sep-12 2:21 
GeneralRe: about c# Pin
Eddy Vluggen7-Sep-12 2:54
professionalEddy Vluggen7-Sep-12 2:54 
QuestionSQL Connection problem in Windows Service Pin
Member 799263524-Aug-12 0:17
Member 799263524-Aug-12 0:17 
AnswerRe: SQL Connection problem in Windows Service Pin
Pete O'Hanlon24-Aug-12 0:21
mvePete O'Hanlon24-Aug-12 0:21 
GeneralRe: SQL Connection problem in Windows Service Pin
dojohansen10-Oct-12 5:19
dojohansen10-Oct-12 5:19 
GeneralRe: SQL Connection problem in Windows Service Pin
Pete O'Hanlon10-Oct-12 5:32
mvePete O'Hanlon10-Oct-12 5:32 
Questionstrategy for correcting the side-effects of using Dock (which ignore Margin settings) Pin
BillWoodruff14-Aug-12 0:08
professionalBillWoodruff14-Aug-12 0:08 
AnswerRe: strategy for correcting the side-effects of using Dock (which ignore Margin settings) Pin
dojohansen10-Oct-12 6:01
dojohansen10-Oct-12 6:01 
QuestionEditingPanel Erasing Top Cell Border Pin
Mark Regal13-Aug-12 19:06
Mark Regal13-Aug-12 19:06 
This maybe academic but here goes anyway...

I'm drawing custom borders for a datagridview in the datagridview's paint event, the one in a Windows form. That works fine until I edit a cell.

When I edit a cell, the top and left grid borders (which are drawn by me in the grid's paint event) are over-layed by the EditingPanel control of the datagridview class.

So the borders disappears and the cell looks like it has only two borders...bottom...and right.

I subsequently created a custom column and cell template for the grid but no matter what I've tried so far, I can't get to the event that's overwriting my borders to either have it paint the missing borders themselves, or stop it from overwriting the ones that I'm drawing.

It would seem that this type of task needs to be accomplished all the time and I just don't know how...so I'm totally missing the boat on this one.

Would someone please let me in on the secret of how to (the proper procedures) for painting custom borders around the datagridview cell I'm editing?

The borders should be in alignment with the grid's boarders and have the ability to be drawn in different colors.

Please advise and thanks!!!

Mark

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.