Article View: comp.windows.ms.programmer
Article #1019Re: Modeless Dialogs vs Globals
From: Adonis Corporation
Date: Tue, 08 Jan 1991 06:46
Date: Tue, 08 Jan 1991 06:46
19 lines
1180 bytes
1180 bytes
In article <1488@msa3b.UUCP> kevin@msa3b.UUCP (Kevin P. Kleinfelter) writes: >It appears that the dialog procedure for a modeless dialog cannot >access ANY global data. This would include literal strings, because >they go into the program's global data area. > . > . > . > . >Am I correct in surmising that global data is inaccessable from a >modeless dialog, and that this includes literal strings? Boy, I sure don't know where you got this from! I've been programming Windows for a while now and it may be weird, but not that weird. You can get to globals from anywhere in the program you want to, as long as you have an external declaration in the module. Maybe I missed something somewhere? -Doug Kent
Technical Details
Message-ID:
<455@nwnexus.WA.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!nwnexus!adonis1References:
<1488@msa3b.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!nwnexus!adonis1 From: adonis1@nwnexus.WA.COM (Adonis Corporation ) Newsgroups: comp.windows.ms.programmer Subject: Re: Modeless Dialogs vs Globals Message-ID: <455@nwnexus.WA.COM> Date: 8 Jan 91 06:46:16 GMT References: <1488@msa3b.UUCP> Reply-To: adonis1@nwnexus.UUCP (Adonis Corporation (Doug Kent)) Organization: Northwest Nexus Inc.; Seattle, WA Lines: 19