home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / win32 / 1914 < prev    next >
Encoding:
Text File  |  1992-11-10  |  877 b   |  32 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!microsoft!hexnut!johnhall
  3. From: johnhall@microsoft.com (John Hall)
  4. Subject: Re: Dialog instance data...
  5. Message-ID: <1992Nov10.232226.14750@microsoft.com>
  6. Date: 10 Nov 92 23:22:26 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Nov9.161716.2903@ists.ists.ca>
  9. Distribution: na
  10. Lines: 17
  11.  
  12.  
  13. In article carty@ists.ists.ca (Ed Carty) writes:
  14. | 9 Nov. 1992
  15. | Anyone walked this road before...
  16. | I'd like to encapsulate instance data with a modeless dialog.  
  17.  
  18. SetProp(hDlg, "MyInstanceData", 32bit DataValue);
  19.  
  20. Use the property functions to associate a data structure with
  21. a dialog, and *don't* forget to release it when the dialog
  22. exits!
  23.  
  24. -- 
  25. -------------------------
  26. My comments are my own.  They are independent and unrelated to the
  27. views of my company , relatives or elected representatives.
  28.  
  29.