RE: [TFUI] Re: [TDD] Testing Dialogs
[email protected] Wed, 18 Oct 2006 12:49:52 -0400
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <[email protected]> |
>> A modeless window and a modal window are the same thing. the only
>> difference is calling Show() or ShowDialog(). In your tests call Show()
>> and in the real code call ShowDialog().
> The next only difference, if I recall my Win32 SDK correctly, is one kind
> must end with EndDialog() and the other ends with something else. So then
> you need extra code in the dialog to call either kind.
But in .NET we don't deal directly with the Win32 SDK, so we don't deal with EndDialog(). We do, however, deal with Close() and that has to be called regardless of which method you call.
cliff
________________________________________________________________________
Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more.
[Non-text portions of this message have been removed]
To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TestFirstUserInterfaces/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/TestFirstUserInterfaces/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:TestFirstUserInterfaces-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org
mailto:TestFirstUserInterfaces-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/