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

C#

 
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 
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 
Windows allocates a static handle whenever you create a window, that is valid for the lifetime of the window.

At what point are you setting the form as an MDI client? When you set the MdiParent property .NET has to recreate the form from scratch as it changes it's underlying class type - hence the new handle - the OS treats MDI clients differently to normal Windows and has to process extra messages etc.

In short, if your using a form as an MDI client do it before anything else as it will only cause you grief if your depending on the handle being constant.


Gavin Taylor
w: http://www.gavspace.com

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 
AnswerRe: Tab Change Event Pin
darkelv4-Mar-06 19:23
darkelv4-Mar-06 19:23 
QuestionGetting size of a data structure Pin
LighthouseJ4-Mar-06 17:33
LighthouseJ4-Mar-06 17:33 
AnswerRe: Getting size of a data structure Pin
Expert Coming4-Mar-06 18:17
Expert Coming4-Mar-06 18:17 

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.