Click here to Skip to main content
15,884,425 members
Home / Discussions / C#
   

C#

 
QuestionDatagrid Currency Column?? Pin
DougW485-May-04 12:55
DougW485-May-04 12:55 
AnswerRe: Datagrid Currency Column?? Pin
Heath Stewart5-May-04 14:10
protectorHeath Stewart5-May-04 14:10 
GeneralRe: Datagrid Currency Column?? Pin
DougW485-May-04 14:43
DougW485-May-04 14:43 
GeneralNewline in Label Text Pin
Okeno Palmer5-May-04 12:18
Okeno Palmer5-May-04 12:18 
GeneralRe: Newline in Label Text Pin
Heath Stewart5-May-04 14:07
protectorHeath Stewart5-May-04 14:07 
GeneralRe: Newline in Label Text Pin
Okeno Palmer5-May-04 14:51
Okeno Palmer5-May-04 14:51 
GeneralMore of column headers filters in custom lisview Pin
machocr5-May-04 10:58
machocr5-May-04 10:58 
GeneralRe: More of column headers filters in custom lisview Pin
Heath Stewart5-May-04 14:02
protectorHeath Stewart5-May-04 14:02 
The child control (the Header control) notification messages are passed to the parent - the ListView. In the override to ListView.WndProc you'll typically receive WM_NOTIFY-style messages (like in the case of the notification (HDN_*) messages you mentioned). The NMHDR contains the HWND (an IntPtr in .NET) of the control that sent it. You can compare this with the header's HWND, which you can get by send LVM_GETHEADER to your ListView.Handle (the List-View's HWND). This is all documented in the Platform SDK for the common controls and some experience with handling controls natively would be helpful.

Also, this has already been done and I suggest you read an article about it here on CodeProject: ListViewFilter Control for .NET[^].

 

Microsoft MVP, Visual C#
My Articles
Generalfish eye images converter Pin
doph5-May-04 8:34
doph5-May-04 8:34 
GeneralStrange TypeLoadException Pin
Broken God5-May-04 5:59
Broken God5-May-04 5:59 
GeneralRe: Strange TypeLoadException Pin
leppie5-May-04 6:52
leppie5-May-04 6:52 
GeneralRe: Strange TypeLoadException Pin
Anonymous5-May-04 7:47
Anonymous5-May-04 7:47 
GeneralRemoving event listeners on IHTMLDocument2 objects Pin
agking5-May-04 5:56
agking5-May-04 5:56 
GeneralDLL Help Pin
goldoche5-May-04 5:54
goldoche5-May-04 5:54 
GeneralRe: DLL Help Pin
Heath Stewart5-May-04 6:59
protectorHeath Stewart5-May-04 6:59 
GeneralXmlDocument, SOAP& Namespaces Pin
MrEyes5-May-04 5:40
MrEyes5-May-04 5:40 
GeneralRe: XmlDocument, SOAP& Namespaces Pin
Heath Stewart5-May-04 5:44
protectorHeath Stewart5-May-04 5:44 
GeneralRe: XmlDocument, SOAP& Namespaces Pin
MrEyes5-May-04 5:58
MrEyes5-May-04 5:58 
GeneralRe: XmlDocument, SOAP& Namespaces Pin
Heath Stewart5-May-04 7:10
protectorHeath Stewart5-May-04 7:10 
GeneraldataGridTextBoxColumn textBox Pin
blankg5-May-04 5:16
blankg5-May-04 5:16 
Generalc# Listbox help Pin
John Baird5-May-04 4:48
John Baird5-May-04 4:48 
GeneralRe: c# Listbox help Pin
Heath Stewart5-May-04 4:59
protectorHeath Stewart5-May-04 4:59 
GeneralRe: c# Listbox help Pin
John Baird5-May-04 9:21
John Baird5-May-04 9:21 
GeneralRe: c# Listbox help Pin
Heath Stewart5-May-04 9:31
protectorHeath Stewart5-May-04 9:31 
GeneralCreating & Using DLL's Pin
Lakshmikanthan5-May-04 4:42
Lakshmikanthan5-May-04 4:42 

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.