Click here to Skip to main content
15,895,656 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sending an e-mail Pin
albCode6-Mar-06 3:06
albCode6-Mar-06 3:06 
QuestionRe: Sending an e-mail Pin
steve_rm6-Mar-06 16:08
steve_rm6-Mar-06 16:08 
QuestionUSB Port Pin
Sean895-Mar-06 4:58
Sean895-Mar-06 4:58 
AnswerRe: USB Port Pin
Ed.Poore5-Mar-06 6:56
Ed.Poore5-Mar-06 6:56 
GeneralRe: USB Port Pin
Sean895-Mar-06 9:13
Sean895-Mar-06 9:13 
AnswerRe: USB Port Pin
eggie55-Mar-06 20:24
eggie55-Mar-06 20:24 
QuestionForm - Handle Pin
AJ1235-Mar-06 4:44
AJ1235-Mar-06 4:44 
AnswerRe: Form - Handle Pin
Stanciu Vlad5-Mar-06 6:23
Stanciu Vlad5-Mar-06 6:23 
If I am not mistaking a form's handle does not changes. It represents a global unique id of a window, allocated at the creatin of the window. But if you use a static field and compare it withe various instance hadles you will have variations. (ie. create a form, dispose it, and recreate it).
But this is theoretically, meaning that Microsoft may do whatever wishes with all the resources.

-- modified at 14:21 Sunday 5th March, 2006

It proves that actualy a handle may change in the lifetime of a form. Quoting MSDN[^]:
IWin32Window.Handle Property
Remarks
Depending on the implementer, the value of the Handle property could change during the life of the window.

-- modified at 15:01 Sunday 5th March, 2006

It proves that I was kind of right... Here are some other usefull infos about the way a handle can change : MSDN Link[^]

protected internal static readonly ... and I wish the list could continue ...

GeneralRe: Form - Handle Pin
AJ1235-Mar-06 9:09
AJ1235-Mar-06 9:09 
GeneralRe: Form - Handle Pin
Stanciu Vlad5-Mar-06 9:27
Stanciu Vlad5-Mar-06 9:27 
GeneralRe: Form - Handle Pin
Gavin Taylor5-Mar-06 18:49
professionalGavin Taylor5-Mar-06 18:49 
AnswerRe: Form - Handle Pin
leppie5-Mar-06 6:40
leppie5-Mar-06 6:40 
QuestionI need your help. Pin
a_kiani5-Mar-06 3:30
a_kiani5-Mar-06 3:30 
QuestionSerialization Doubt Pin
manivannan.p5-Mar-06 1:20
manivannan.p5-Mar-06 1:20 
GeneralRe: Serialization Doubt Pin
Guffa5-Mar-06 2:08
Guffa5-Mar-06 2:08 
QuestionHow does StringBuilder Work? Pin
manivannan.p5-Mar-06 1:12
manivannan.p5-Mar-06 1:12 
AnswerRe: How does StringBuilder Work? Pin
Guffa5-Mar-06 1:58
Guffa5-Mar-06 1:58 
AnswerRe: How does StringBuilder Work? Pin
Thomas Stockwell5-Mar-06 3:38
professionalThomas Stockwell5-Mar-06 3:38 
QuestionScrollBar Pin
engsrini4-Mar-06 23:33
engsrini4-Mar-06 23:33 
AnswerRe: ScrollBar Pin
mikanu5-Mar-06 9:47
mikanu5-Mar-06 9:47 
QuestionBlock Com Port monitoring tools Pin
Sandeep TP4-Mar-06 21:54
Sandeep TP4-Mar-06 21:54 
AnswerRe: Block Com Port monitoring tools Pin
cbhkenshin4-Mar-06 23:04
cbhkenshin4-Mar-06 23:04 
AnswerRe: Block Com Port monitoring tools Pin
Stephen Hewitt5-Mar-06 0:20
Stephen Hewitt5-Mar-06 0:20 
AnswerRe: Block Com Port monitoring tools Pin
Dave Kreskowiak5-Mar-06 2:04
mveDave Kreskowiak5-Mar-06 2:04 
QuestionTab Change Event Pin
Expert Coming4-Mar-06 18:25
Expert Coming4-Mar-06 18:25 

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.