Re: Treeview and Listview  
Author Message
AndrewSiffert





PostPosted: Thu Aug 12 04:58:48 CDT 2004 Top

Net Framework >> Re: Treeview and Listview Albert,

I have a question: why is your timer not working when your form doesn't
have focus? In my opinion, it should keep working fine. Are you getting
some sort of exception? Can you shed some more light on your
implementation? Perhaps you could post some sample code. Are you
building a MMC plugin, or is this a pure C# WinForms application?

DotNet81  
 
 
Albert





PostPosted: Thu Aug 12 04:58:48 CDT 2004 Top

Net Framework >> Re: Treeview and Listview I'm using VB.Net, it is a windows form handled by an application context.
The application starts when the server does. You will only see an icon in
the systray. When double-clicking this icon you will see the form.
The timer is working ok, don't have any problems with that.
Been looking into it a little bit more closely and I know how i can get it
to work if you can tell me how members of the tree-/listview can be kept
"selected" after the form loses focus. Take windows-explorer for example.
When you select a directory on the left, it'll become blue, when it loses
focus, it isn't blue anymore, but you can see it is still selected. This is
what im looking for.
The tree-/listview wasn't refreshing because the refresh trigger also uses
the node which is selected. (and none are selected when not focussed)

Albert

"Shell" <EMail@HideDomain.com> schreef in bericht
news:cffap2$EMail@HideDomain.com...
> Albert,
>
> I have a question: why is your timer not working when your form doesn't
> have focus? In my opinion, it should keep working fine. Are you getting
> some sort of exception? Can you shed some more light on your
> implementation? Perhaps you could post some sample code. Are you
> building a MMC plugin, or is this a pure C# WinForms application?
>