Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: Failed to compare Time portion of DateTime when read ACCESS database Pin
Rob Philpott29-Nov-05 11:27
Rob Philpott29-Nov-05 11:27 
GeneralRe: Failed to compare Time portion of DateTime when read ACCESS database Pin
Roman Muntyanu30-Nov-05 5:48
Roman Muntyanu30-Nov-05 5:48 
Questioneasy textbox question? Pin
melanieab29-Nov-05 7:36
melanieab29-Nov-05 7:36 
AnswerRe: easy textbox question? Pin
Rob Philpott29-Nov-05 8:02
Rob Philpott29-Nov-05 8:02 
GeneralRe: easy textbox question? Pin
melanieab29-Nov-05 8:15
melanieab29-Nov-05 8:15 
QuestionWeb Service XML to DataGrid - 'System.NullReferenceException' error Pin
tabulation29-Nov-05 7:16
tabulation29-Nov-05 7:16 
AnswerRe: Web Service XML to DataGrid - 'System.NullReferenceException' error Pin
Rob Philpott29-Nov-05 8:51
Rob Philpott29-Nov-05 8:51 
GeneralRe: Web Service XML to DataGrid - 'System.NullReferenceException' error Pin
tabulation29-Nov-05 10:15
tabulation29-Nov-05 10:15 
GeneralRe: Web Service XML to DataGrid - 'System.NullReferenceException' error Pin
Rob Philpott29-Nov-05 11:32
Rob Philpott29-Nov-05 11:32 
GeneralRe: Web Service XML to DataGrid - 'System.NullReferenceException' error Pin
tabulation29-Nov-05 11:46
tabulation29-Nov-05 11:46 
GeneralRe: Web Service XML to DataGrid - 'System.NullReferenceException' error Pin
Rob Philpott29-Nov-05 22:56
Rob Philpott29-Nov-05 22:56 
QuestionDatabase Directory Error Pin
TheMajorRager29-Nov-05 7:00
TheMajorRager29-Nov-05 7:00 
AnswerRe: Database Directory Error Pin
KaptinKrunch29-Nov-05 7:25
KaptinKrunch29-Nov-05 7:25 
GeneralRe: Database Directory Error Pin
TheMajorRager29-Nov-05 10:01
TheMajorRager29-Nov-05 10:01 
QuestionSockets - Intensive I/O Issues Pin
mcljava29-Nov-05 5:09
mcljava29-Nov-05 5:09 
AnswerRe: Sockets - Intensive I/O Issues Pin
leppie29-Nov-05 7:25
leppie29-Nov-05 7:25 
GeneralRe: Sockets - Intensive I/O Issues Pin
mcljava29-Nov-05 8:04
mcljava29-Nov-05 8:04 
QuestionThread Management Pin
thepolishguy29-Nov-05 5:07
thepolishguy29-Nov-05 5:07 
AnswerRe: Thread Management Pin
mcljava29-Nov-05 7:02
mcljava29-Nov-05 7:02 
QuestionServer - Multi Client Chat Problem Pin
DarkAngel78629-Nov-05 4:47
DarkAngel78629-Nov-05 4:47 
AnswerRe: Server - Multi Client Chat Problem Pin
mcljava29-Nov-05 10:15
mcljava29-Nov-05 10:15 
GeneralRe: Server - Multi Client Chat Problem Pin
DarkAngel78629-Nov-05 22:41
DarkAngel78629-Nov-05 22:41 
QuestionHow to achieve automatic sorting in a TreeView? Pin
Morrgan29-Nov-05 4:45
Morrgan29-Nov-05 4:45 
Hi,

In my project I use a TreeView in which all nodes are supposed to be sorted in alphabetical order. When the user edits a node label I want the TreeView to automatically sort itself. Using the following code I am able to make it work for the top level nodes but not their children.

<br />
protected override void WndProc(ref Message m)<br />
{<br />
base.WndProc(ref m);<br />
<br />
if (m.Msg == 0x004E) //WM_NOTIFY<br />
{	<br />
SendMessage(treeView.Handle, 0x1113, 1, 0); //TVM_SORTCHILDREN<br />
}<br />
}<br />


Any help would be greatly appriciated!
AnswerRe: How to achieve automatic sorting in a TreeView? Pin
Curtis Schlak.29-Nov-05 9:08
Curtis Schlak.29-Nov-05 9:08 
GeneralRe: How to achieve automatic sorting in a TreeView? Pin
Morrgan29-Nov-05 20:14
Morrgan29-Nov-05 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.