Click here to Skip to main content
15,911,711 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
BobJanova24-Oct-11 23:04
BobJanova24-Oct-11 23:04 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
BillWoodruff25-Oct-11 3:20
professionalBillWoodruff25-Oct-11 3:20 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
boreland25-Oct-11 3:53
boreland25-Oct-11 3:53 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
Pete O'Hanlon25-Oct-11 4:10
mvePete O'Hanlon25-Oct-11 4:10 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
BillWoodruff25-Oct-11 14:53
professionalBillWoodruff25-Oct-11 14:53 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
boreland25-Oct-11 15:49
boreland25-Oct-11 15:49 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
BillWoodruff25-Oct-11 17:51
professionalBillWoodruff25-Oct-11 17:51 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
boreland25-Oct-11 19:29
boreland25-Oct-11 19:29 
I certainly appreciate your interest. Regarding CPU processor, I have 4 cores and 8 threads. Intel i7 930. You are spot on the last point, each thread does have its own independent data feed.

One final note. It seems that the childforms that are created via the code I posted are referenced to the desktop. This means that the mouse pointer is offset from the chilform by the distance from the childform top left corner and the top left corner of the desktop. When you click on a childform and move the mouse it will jump. I've spent a number of hours trying to fix this problem to no avail. However, if you make the childform full docked and set it as a MDI container, you now can create childforms within this overlay form that behave correctly. Of course visually you might what to remove the top bar on forms 2 and 3, with 4 being the childform. Moreover, using the earlier tricks you can have each childform run in the thread of the parent or a new thread.

Bottom line, what we have here is really a tabControl were each tab page runs in its own thread.
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
Pete O'Hanlon26-Oct-11 3:23
mvePete O'Hanlon26-Oct-11 3:23 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
BobJanova26-Oct-11 0:35
BobJanova26-Oct-11 0:35 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
BobJanova26-Oct-11 0:34
BobJanova26-Oct-11 0:34 
AnswerRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
BillWoodruff25-Oct-11 18:01
professionalBillWoodruff25-Oct-11 18:01 
AnswerRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
boreland7-Nov-11 13:39
boreland7-Nov-11 13:39 
Question2010 C# linq Pin
dcof24-Oct-11 12:28
dcof24-Oct-11 12:28 
AnswerRe: 2010 C# linq Pin
Not Active24-Oct-11 12:57
mentorNot Active24-Oct-11 12:57 
QuestionPoint conversion. Pin
paper6724-Oct-11 8:05
paper6724-Oct-11 8:05 
AnswerRe: Point conversion. Pin
Eddy Vluggen24-Oct-11 8:34
professionalEddy Vluggen24-Oct-11 8:34 
AnswerRe: Point conversion. Pin
Luc Pattyn24-Oct-11 9:09
sitebuilderLuc Pattyn24-Oct-11 9:09 
GeneralRe: Point conversion. Pin
Keith Barrow24-Oct-11 9:11
professionalKeith Barrow24-Oct-11 9:11 
GeneralRe: Point conversion. Pin
Eddy Vluggen24-Oct-11 9:49
professionalEddy Vluggen24-Oct-11 9:49 
GeneralRe: Point conversion. Pin
Richard MacCutchan24-Oct-11 10:18
mveRichard MacCutchan24-Oct-11 10:18 
GeneralRe: Point conversion. Pin
Eddy Vluggen24-Oct-11 10:29
professionalEddy Vluggen24-Oct-11 10:29 
AnswerRe: Point conversion. Pin
BobJanova24-Oct-11 23:13
BobJanova24-Oct-11 23:13 
GeneralRe: Point conversion. Pin
harold aptroot24-Oct-11 23:36
harold aptroot24-Oct-11 23:36 
AnswerRe: Point conversion. Pin
Eddy Vluggen25-Oct-11 0:40
professionalEddy Vluggen25-Oct-11 0:40 

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.