Click here to Skip to main content
15,907,281 members
Home / Discussions / C#
   

C#

 
Generalmulti-thread multicast server Pin
GTR3425-Dec-03 1:19
GTR3425-Dec-03 1:19 
GeneralRe: multi-thread multicast server Pin
Heath Stewart27-Dec-03 4:56
protectorHeath Stewart27-Dec-03 4:56 
GeneralCalling function in a C# dll from C++ code Pin
Member 78143724-Dec-03 17:05
Member 78143724-Dec-03 17:05 
GeneralRe: Calling function in a C# dll from C++ code Pin
Nick Parker24-Dec-03 19:57
protectorNick Parker24-Dec-03 19:57 
QuestionHow to find servers in a network Pin
Cristoff24-Dec-03 10:08
Cristoff24-Dec-03 10:08 
AnswerRe: How to find servers in a network Pin
leppie24-Dec-03 12:57
leppie24-Dec-03 12:57 
GeneralRe: How to find servers in a network Pin
nguyen_quoc_huy_vn24-Dec-03 16:24
nguyen_quoc_huy_vn24-Dec-03 16:24 
GeneralRe: How to find servers in a network Pin
leppie25-Dec-03 6:03
leppie25-Dec-03 6:03 
AnswerRe: How to find servers in a network Pin
LongRange.Shooter30-Dec-03 10:15
LongRange.Shooter30-Dec-03 10:15 
Generalsites Pin
hebzzz24-Dec-03 8:04
hebzzz24-Dec-03 8:04 
GeneralRe: sites Pin
Kentamanos24-Dec-03 8:11
Kentamanos24-Dec-03 8:11 
GeneralSites Pin
hebzzz24-Dec-03 7:56
hebzzz24-Dec-03 7:56 
GeneralRe: Sites Pin
Kentamanos24-Dec-03 7:59
Kentamanos24-Dec-03 7:59 
GeneraleneSites Pin
hebzzz24-Dec-03 7:56
hebzzz24-Dec-03 7:56 
GeneralRe: eneSites Pin
Heath Stewart27-Dec-03 4:51
protectorHeath Stewart27-Dec-03 4:51 
GeneralHID USB - Mag Card Reader Interaction Pin
nitesh11524-Dec-03 5:43
nitesh11524-Dec-03 5:43 
GeneralRe: HID USB - Mag Card Reader Interaction Pin
Kentamanos24-Dec-03 7:07
Kentamanos24-Dec-03 7:07 
GeneralRe: HID USB - Mag Card Reader Interaction Pin
nitesh11526-Dec-03 8:51
nitesh11526-Dec-03 8:51 
GeneralRe: HID USB - Mag Card Reader Interaction Pin
Kentamanos26-Dec-03 8:53
Kentamanos26-Dec-03 8:53 
GeneralRe: HID USB - Mag Card Reader Interaction Pin
Heath Stewart27-Dec-03 4:47
protectorHeath Stewart27-Dec-03 4:47 
GeneralTreeview Pin
mhmoud rawas24-Dec-03 1:05
mhmoud rawas24-Dec-03 1:05 
GeneralRe: Treeview Pin
Heath Stewart27-Dec-03 4:43
protectorHeath Stewart27-Dec-03 4:43 
GeneralRe: Treeview Pin
Heath Stewart27-Dec-03 5:34
protectorHeath Stewart27-Dec-03 5:34 
Oops...didn't finish!

mhmoud rawas wrote:
when you minimize the application and re maximaize it somethimg strange will happen to the drawing event, sometimes it draw gray rectangulers ??!!

If you're doing any drawing, you must make sure that invalidated regions are drawn. Since the TreeView.Paint method is not fired, you must handle this the "Windows way" by overriding WndProc in your derivitive class and handling the appropriate item drawing codes. See the Windows Common Control documentation in MSDN Library for the Tree-View common control class messages and notifications.

mhmoud rawas wrote:
the last thing when you select any unselected node in the tree by right click the node will get the selection when your mouse button is down but when you releas the button the selection will rerurm to the last selected node in the tree ??!!!!

Because a right-clicked node is selected - it is active. The selected node is therefore not changed. This is common among tree controls, even in the Windows Explorer (which, btw, uses the same Tree-View that the TreeView class wraps). Even several other third-party tree controls that I'm aware of work this way - things that are right-click are necessarily selected. This is also common amongh many other UI elements in many different window managers.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Treeview Pin
mhmoud rawas27-Dec-03 18:09
mhmoud rawas27-Dec-03 18:09 
GeneralRe: Treeview Pin
Heath Stewart28-Dec-03 3:16
protectorHeath Stewart28-Dec-03 3:16 

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.