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