home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1736 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.3 KB

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