Re: Properly closing an app?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Thu, 16 Jun 2005 13:21:32 +0100, "Jon A" <jon.amsden@xxxxxxxxx>
wrote:

>Hello,
>
>This damn smart minimise button... I want to actually close my program. I
>don't mind if its from a menu (file | exit or whatever) I just want to know
>what line of code I need to make a program stop running completely instead
>of just putting it to the background. (as wince does)

For C, straight Win 32:

EndDialog to close a modal dialog box
DestroyWindow to close a modeless dialog box


>
>Help greatly apprechiated.
>
>Jon
>
>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com
.



Relevant Pages

  • Properly closing an app?
    ... This damn smart minimise button... ... don't mind if its from a menu (file | exit or whatever) I just want to know ... Prev by Date: ...
    (microsoft.public.pocketpc.developer)
  • Re: Looking for a way to convert dec to bin
    ... things like Exit Do or Exit For. ... rarely even useful) once you wrap your mind around doing without them. ... well initialize variables at declaration time. ...
    (microsoft.public.vb.general.discussion)
  • CA freeway exit numbering question
    ... I noticed that a photograph of the BGSs for I-10/I-5 near downtown LA ... included an exit sign with an *exit number* for Santa Fe Avenue... ... The mind boggles... ...
    (misc.transport.road)
  • Re: OT: Foosball!
    ... think about it though, if I was hung as well as the guy who DID do it, ... Our dorm had wings with a main entrance on one end and an exit on the ...  Also keep in mind, ...
    (rec.games.pinball)
  • Re: The REAL ID problem, and solutions
    ... On 2010-07-09 10:40:07 -0700, neithskye ... has changed its mind. ... (Exit, stage right, dusting off hands for a job well done, but tripping over a power cord just off stage.) ...
    (alt.games.warcraft)