home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!microsoft!hexnut!johnhall
- From: johnhall@microsoft.com (John Hall)
- Subject: Re: Dialog instance data...
- Message-ID: <1992Nov10.232226.14750@microsoft.com>
- Date: 10 Nov 92 23:22:26 GMT
- Organization: Microsoft Corporation
- References: <1992Nov9.161716.2903@ists.ists.ca>
- Distribution: na
- Lines: 17
-
-
- In article carty@ists.ists.ca (Ed Carty) writes:
- |
- | 9 Nov. 1992
- |
- | Anyone walked this road before...
- |
- | I'd like to encapsulate instance data with a modeless dialog.
-
- SetProp(hDlg, "MyInstanceData", 32bit DataValue);
-
- Use the property functions to associate a data structure with
- a dialog, and *don't* forget to release it when the dialog
- exits!
-
- --
- -------------------------
- My comments are my own. They are independent and unrelated to the
- views of my company , relatives or elected representatives.
-
-