home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!nuscc!edscl
- From: edscl%Solomon.Technet.sg (Christopher Loke)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Custom Control Programming
- Message-ID: <1992Sep9.020445.23399@nuscc.nus.sg>
- Date: 9 Sep 92 02:04:45 GMT
- Sender: usenet@nuscc.nus.sg
- Organization: National University of Singapore
- Lines: 21
- X-Newsreader: Tin 1.1 PL5
-
-
- I am developing some custom controls according to Microsoft standard.But I
- have two problems.
- 1:How can I know the font that the dialogbox is using currently.Because in
- the RC script,programmer can include such command line :"FONT Helv 8".
- and that will affect all controls size and display in this dialogbox.
- The custom control I developed cannot obtain the font information and
- always use system font. How can I solve this problem?
-
- 2:In the predefined controls text,you can use a "&" to make focus change fast.
- I do not know who should be responsible for this work,me or Dialog Manager?
- In my custom control,if I press ALT + the char with "&",it cannot work as
- predefined controls! But I only konw my own controls' text and parse the
- "&". How can I know others? How to handle such situation?
-
- Thank you for your response and help!
-
-
-
- Wang Bin
-
-