Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralSorry Mr. Ed.Poore and also thanks for u r suggestion Pin
premkamalg22-Aug-06 1:04
premkamalg22-Aug-06 1:04 
Questioni use .Net framework 1.1 version, now how can i access serial port through Win API's Pin
premkamalg22-Aug-06 0:50
premkamalg22-Aug-06 0:50 
AnswerRe: i use .Net framework 1.1 version, now how can i access serial port through Win API's Pin
Christian Graus22-Aug-06 1:48
protectorChristian Graus22-Aug-06 1:48 
QuestionDefaultValue Attribute of Property in derived class Pin
Martin#21-Aug-06 23:46
Martin#21-Aug-06 23:46 
AnswerRe: DefaultValue Attribute of Property in derived class Pin
Ed.Poore21-Aug-06 23:48
Ed.Poore21-Aug-06 23:48 
GeneralRe: DefaultValue Attribute of Property in derived class Pin
Martin#22-Aug-06 0:00
Martin#22-Aug-06 0:00 
GeneralRe: DefaultValue Attribute of Property in derived class Pin
Ed.Poore22-Aug-06 0:38
Ed.Poore22-Aug-06 0:38 
QuestionBug in ListView .NET 2.0? Pin
gumi_r@msn.com21-Aug-06 23:26
gumi_r@msn.com21-Aug-06 23:26 
Or am I doing something wrong?

I'm creating a column sortable Listview and I want to give the user some visual feedback on which column is sorted and all that stuff, aka a sorting arrow.

In order to do that I'm activating OwnerDraw and then in all the protected overriden methods (OnDrawItem, OnDrawSubItem, etc) I'm setting DefaultDraw=true;

The only painting I'm really handling is inside OnDrawColumnHeader. I have everything working fine with XP themes and all using the VisualStyle namespace but there's one bug I can't seem to fix: The DrawListViewColumnHeaderEventArgs has a property which gives you the ListViewItemStates of the header. The ones I'm interested in are Default, Hot and Selected. The bug is that the Hot state never seems to activate, when you mouse over the header, the e.State property does not change and remains 0 or default. This makes it imposible to correctly render a themed header as it I can't detect when I have to paint a hot header. I've tried using Rectancle.Contains(Cursor) but that runs into tons of problems when moving cursor from one header to another.

Anyone know if this is a known issue or am I doing something wrong?

thanks
AnswerRe: Bug in ListView .NET 2.0? Pin
gumi_r@msn.com23-Aug-06 1:01
gumi_r@msn.com23-Aug-06 1:01 
QuestionNeed a control to playback .dss file Pin
jamesjk21-Aug-06 23:26
jamesjk21-Aug-06 23:26 
AnswerRe: Need a control to playback .dss file Pin
Christian Graus22-Aug-06 0:08
protectorChristian Graus22-Aug-06 0:08 
GeneralRe: Need a control to playback .dss file Pin
jamesjk22-Aug-06 1:31
jamesjk22-Aug-06 1:31 
GeneralRe: Need a control to playback .dss file Pin
Christian Graus22-Aug-06 1:35
protectorChristian Graus22-Aug-06 1:35 
GeneralRe: Need a control to playback .dss file Pin
jamesjk22-Aug-06 1:49
jamesjk22-Aug-06 1:49 
GeneralRe: Need a control to playback .dss file Pin
jamesjk19-Sep-06 0:30
jamesjk19-Sep-06 0:30 
QuestionRe: Need a control to playback .dss file Pin
Member 275903413-Jan-09 0:38
Member 275903413-Jan-09 0:38 
QuestionProblem with excel 97 Pin
AnnnS21-Aug-06 22:50
AnnnS21-Aug-06 22:50 
AnswerRe: Problem with excel 97 Pin
Ed.Poore21-Aug-06 22:54
Ed.Poore21-Aug-06 22:54 
GeneralRe: Problem with excel 97 Pin
AnnnS21-Aug-06 23:09
AnnnS21-Aug-06 23:09 
GeneralRe: Problem with excel 97 Pin
Ed.Poore21-Aug-06 23:46
Ed.Poore21-Aug-06 23:46 
QuestionRe: Problem with excel 97 Pin
AnnnS22-Aug-06 0:21
AnnnS22-Aug-06 0:21 
AnswerRe: Problem with excel 97 Pin
Ed.Poore22-Aug-06 0:45
Ed.Poore22-Aug-06 0:45 
QuestionRe: Problem with excel 97 Pin
AnnnS22-Aug-06 0:52
AnnnS22-Aug-06 0:52 
AnswerRe: Problem with excel 97 Pin
Ed.Poore22-Aug-06 2:29
Ed.Poore22-Aug-06 2:29 
QuestionAsymmetric Encryption Question Pin
alantu21-Aug-06 22:30
alantu21-Aug-06 22:30 

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.