home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4792 < prev    next >
Encoding:
Text File  |  1993-01-09  |  1.8 KB  |  45 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!caen!sol.ctr.columbia.edu!cortex.prospect.com!mboucher
  3. From: mboucher@cortex.prospect.com (Mike Boucher)
  4. Subject: Bizzare dialog box problem help needed!
  5. Sender: nobody@ctr.columbia.edu
  6. Organization: Cortex Corporation, Waltham, MA, USA
  7. Date: Sat, 9 Jan 1993 19:02:54 GMT
  8. Message-ID: <1993Jan9.140255.1@cortex>
  9. Lines: 32
  10. X-Posted-From: cortex.prospect.com
  11. NNTP-Posting-Host: sol.ctr.columbia.edu
  12.  
  13. Hi there,
  14.  
  15. I've got a really strange problem with my app that no one seems to be able to 
  16. figure out:
  17.  
  18. I use dialog boxes, which are defined in resource files.  When I call these
  19. dialog boxes from my app, the font which the dialog uses is not the same as
  20. I define in the resource.  If I look at Microsofts Dialog Editor, they are as
  21. I defined.  If I change the font in the editor, the program still uses the 
  22. system font, instead of Arial, courier, whatever I specify.
  23.  
  24. But it gets worse... In these dialog boxes, about 50% of the time, static text
  25. controls are NOT visible, and when you type into edit controls, the characters
  26. you type are NOT visible, although the cursor is moving, and if you to a
  27. GetDlgItemText, you'll find that the correct info is in the control.  AND if
  28. you populate a list box, only some lines are visible, the rest are blank.  Once
  29. again, if you retrieve the text in a given line, the results are correct.
  30.  
  31. But even more fun.  Once you kill the dialog box, the repaint uses the system
  32. font, even though the rest of the window may be in different font, making life
  33. completely unbearable!
  34.  
  35. I'm totally out of ideas, and I have until 1/15 to fix the problem.  CAN
  36. SOMEONE HELP???
  37.  
  38. Please e-mail me, as my newsreader is VERY unreliable!!! THANX!!!
  39.  
  40. Mike
  41. -- 
  42. Mike Boucher            mboucher@cortex.prospect.com
  43. Cortex Corp            "Don't take life too seriously, you'll never
  44. Waltham, MA, USA         get out of it alive!"
  45.