home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4260 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.5 KB  |  33 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!stanford.edu!rock!concert!samba!usenet
  3. From: Ed.Holzwarth@bbs.oit.unc.edu (Ed Holzwarth)
  4. Subject: Customized "Standard" Windows
  5. Message-ID: <1992Aug17.160550.7487@samba.oit.unc.edu>
  6. Sender: usenet@samba.oit.unc.edu
  7. Nntp-Posting-Host: lambada.oit.unc.edu
  8. Organization: Extended Bulletin Board Service
  9. Date: Mon, 17 Aug 1992 16:05:50 GMT
  10. Lines: 21
  11.  
  12. I am writing an application for which I would like to have one window
  13. that has pushbuttons, radio buttons, and a listbox.  I wrote the program
  14. so that when it executes, it loads a dialog box via WinLoadDlg and then
  15. WinShowWindow (and later adds a pull down menu with WinLoadMenu).  I am
  16. running into problems, however, because I want to add drag-drop support to
  17. the listbox section of the window.  Also, the icon for the main window is
  18. the dialog box icon, rather than the program's icon.  How do I create the
  19. same window as a "standard" window (opposed to a dialog box) so that I can
  20. add drag-drop support, see the correct icon, and do other things that can
  21. be done with standard windows that can't with dialog boxes?  I also
  22. noticed that the accelerator table keys don't work in my window.
  23.  
  24. Help would be very much appreciated... Thanks in advance...
  25.  
  26. Ed Holzwarth
  27.  
  28. --
  29.    The opinions expressed are not necessarily those of the University of
  30.      North Carolina at Chapel Hill, the Campus Office for Information
  31.         Technology, or the Experimental Bulletin Board Service.
  32.            internet:  bbs.oit.unc.edu or 152.2.22.80
  33.