Click here to Skip to main content
15,887,596 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Infuriating, Costly Exception Handling Delay Pin
JMPurcell6-Jan-05 11:36
JMPurcell6-Jan-05 11:36 
GeneralRe: Infuriating, Costly Exception Handling Delay Pin
Colin Angus Mackay7-Jan-05 0:04
Colin Angus Mackay7-Jan-05 0:04 
GeneralRe: Infuriating, Costly Exception Handling Delay Pin
JMPurcell7-Jan-05 7:52
JMPurcell7-Jan-05 7:52 
Generalserial com port communication! Pin
Member 16267074-Jan-05 12:11
Member 16267074-Jan-05 12:11 
GeneralRe: serial com port communication! Pin
Ritesh12347-Jan-05 3:27
Ritesh12347-Jan-05 3:27 
GeneralXML encoding losing special Characters Pin
kikilala4-Jan-05 10:19
kikilala4-Jan-05 10:19 
GeneralPocket PC Application Pin
vksrisridhar4-Jan-05 1:29
vksrisridhar4-Jan-05 1:29 
QuestionWinForms Form with a Win32 Window as a Parent? Pin
Uwe Keim3-Jan-05 2:28
sitebuilderUwe Keim3-Jan-05 2:28 
In a MFC/WinForms mixed application (via CLR Hosting), I want to show a WinForms form and have a standard Win32 window as the parent (or "owner" as WinForms calls it).

When doing Form.ShowDialog( IWin32Window owner ), everything behaves as expected; the IWin32Window is considered as the owner.

But when I want to show the form as nonmodal by using Form.Show(), I cannot pass an owner. So I tried to P/Invoke the Win32 ::SetParent() function and call it from within the Load handler of my WinForms form.

Unfortunately, the Win32 parent window seems to freeze and the WinForms window seems to never show up.

Question: How can I create a nonmodal WinForms form with a Win32 window being the owner?


--
Affordable Windows-based CMS: www.zeta-producer.com


AnswerRe: WinForms Form with a Win32 Window as a Parent? Pin
Uwe Keim3-Jan-05 18:50
sitebuilderUwe Keim3-Jan-05 18:50 
GeneralRedirecting Mails from one domain to another in Exchange server Pin
Ashutosh j2-Jan-05 20:41
Ashutosh j2-Jan-05 20:41 
GeneralRe: Redirecting Mails from one domain to another in Exchange server Pin
Mike Dimmick6-Jan-05 12:59
Mike Dimmick6-Jan-05 12:59 
Generalencapsulate a program Pin
Anonymous2-Jan-05 3:23
Anonymous2-Jan-05 3:23 
GeneralRe: encapsulate a program Pin
zagzagzag3-Jan-05 1:04
zagzagzag3-Jan-05 1:04 
General.NET Pocket Framework Pin
zagzagzag1-Jan-05 11:55
zagzagzag1-Jan-05 11:55 
GeneralRe: .NET Pocket Framework Pin
Robert Rohde1-Jan-05 20:40
Robert Rohde1-Jan-05 20:40 
GeneralRe: .NET Pocket Framework Pin
zagzagzag3-Jan-05 1:02
zagzagzag3-Jan-05 1:02 
GeneralImpossibility to start a VB application on another PC Pin
JeepManiac90030-Dec-04 13:49
JeepManiac90030-Dec-04 13:49 
GeneralRe: Impossibility to start a VB application on another PC Pin
Rob Graham30-Dec-04 14:53
Rob Graham30-Dec-04 14:53 
GeneralRe: Impossibility to start a VB application on another PC Pin
Rob Graham30-Dec-04 14:58
Rob Graham30-Dec-04 14:58 
GeneralRe: Impossibility to start a VB application on another PC Pin
Ritesh12347-Jan-05 3:30
Ritesh12347-Jan-05 3:30 
GeneralProblem running release build on non-development machine Pin
rahmanasdf30-Dec-04 7:12
rahmanasdf30-Dec-04 7:12 
GeneralRe: Problem running release build on non-development machine Pin
Mike Dimmick31-Dec-04 4:31
Mike Dimmick31-Dec-04 4:31 
GeneralRe: Problem running release build on non-development machine Pin
rahmanasdf2-Jan-05 5:23
rahmanasdf2-Jan-05 5:23 
GeneralChild windows Form issue Pin
mkennedy7730-Dec-04 6:18
mkennedy7730-Dec-04 6:18 
GeneralRe: Child windows Form issue Pin
Robert Rohde31-Dec-04 2:54
Robert Rohde31-Dec-04 2:54 

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.