home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 1091 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!microsoft!hexnut!joero
  3. From: joero@microsoft.com (Joe Robison)
  4. Subject: Re: Visual Basic Prof. Ext. Radio & Option Buttons
  5. Message-ID: <1992Jul30.061015.4212@microsoft.com>
  6. Date: 30 Jul 92 06:10:15 GMT
  7. Organization: Microsoft Corp.
  8. References: <13791@mindlink.bc.ca> 
  9. Lines: 21
  10.  
  11. In article <13791@mindlink.bc.ca> Steve_Goyette@mindlink.bc.ca wrote:
  12. > Hi,
  13. >    For a little while now, I have had a problem with the option and
  14. > radio buttons in the Visual Basic Proffesional Extensions.  When a
  15. > form containing any of these controls was over-written with another form or
  16. > dialog, the controls wouldn't get re-drawn.  After wrestling
  17. > with this problem (and tearing most of my remaining hair out) I came up with
  18. > the following solution.  I hope that this helps other people
  19. > experiencing the same problem.
  20.  
  21. [Solution involving calling Windows routines omitted]
  22.  
  23. If you need to force a repaint (WM_Paint) the Refresh method
  24. should do the trick.
  25.  
  26. Hope this helps.
  27.  
  28. Joe Robison
  29. joero@microsoft.com
  30. NAMS (Not A Microsoft Spokeshuman)
  31.