Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
QuestionDeployment of c# application with merge modules Pin
sarang_k24-Oct-11 20:49
sarang_k24-Oct-11 20:49 
AnswerRe: Deployment of c# application with merge modules Pin
Pete O'Hanlon24-Oct-11 21:05
mvePete O'Hanlon24-Oct-11 21:05 
QuestionDynamically placing Forms onto TabControl Pages - need to add threading Pin
boreland24-Oct-11 13:29
boreland24-Oct-11 13:29 
AnswerRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
Luc Pattyn24-Oct-11 14:19
sitebuilderLuc Pattyn24-Oct-11 14:19 
GeneralRe: Dynamically placing Forms onto TabControl Pages - need to add threading Pin
boreland24-Oct-11 17:48
boreland24-Oct-11 17:48 
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 
Bill, part of why I'm doing this is to see if it was possible. Second, I really could not find anything much about placing forms on controls on the Net. I was aware of TopMost = False to make it work, but folks seem to say that the form needed to be placed on a panel within the tabControl, which clearly it does not. Now the problem with setting topMost = false is that the form on the tabControl can not be used as a MDI container to create child forms, since as far as I know, topMost must be set to true.

Hence, the second piece of what I did was to create these childforms. Interestingly, it was possible for each childform to run in its own thread if you want it to. As far as I know, the behavior of the forms are as you would expect on closing. The big draw back it that there is a offset created between the cursor position and the corner of top left corner of each childform. This I'm hoping can be coded out. Unless you know of a way to fix the problem. I'd be happy to post a rar file of my test application if it were possible were possible in this forum. I think it's an interesting app to play and explore with.

OK, why am I doing this. Well, and maybe I'm climbing the wrong tree here, but I need to place an ActiveX control on each childform. I want each ActiveX control to run in there own thread. My understanding is that normally the ActiveX control can only run in the main GUI thread, and that's not what I want. Hopefully, this makes sense. Perhaps there is a better way, but I'm only a novice coder.

modified 25-Oct-11 9:59am.

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 
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 

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.