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
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 
AnswerRe: WinForms Form with a Win32 Window as a Parent? Pin
Uwe Keim3-Jan-05 18:50
sitebuilderUwe Keim3-Jan-05 18:50 
By using Lutz Roeder's .NET Reflector[^] I figured out how Form.ShowDialog() does it and so I created a similar function that helped me:
public void Show(
    IWin32Window owner )
{
    if ( owner!=null && owner.Handle!=IntPtr.Zero && Handle!=IntPtr.Zero )
    {
        IntPtr ptr2 = GetActiveWindow();
        IntPtr ptr3 = (owner == null) ? ptr2 : owner.Handle;

        const int GWL_HWNDPARENT = -8;

        GetWindowLong(new HandleRef(this, base.Handle), GWL_HWNDPARENT);
        SetWindowLong(new HandleRef(this, base.Handle), GWL_HWNDPARENT, new HandleRef(owner, ptr3));
    }

    base.Show();
}
Maybe this helps someone in case you ever needed it Smile | :) .

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


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 
GeneralRe: Child windows Form issue Pin
mkennedy7731-Dec-04 12:15
mkennedy7731-Dec-04 12:15 

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.