🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #889

Customized "Standard" Windows

#889
From: Ed Holzwarth
Date: Mon, 17 Aug 1992 16:05
21 lines
1564 bytes
I am writing an application for which I would like to have one window
that has pushbuttons, radio buttons, and a listbox.  I wrote the program
so that when it executes, it loads a dialog box via WinLoadDlg and then
WinShowWindow (and later adds a pull down menu with WinLoadMenu).  I am
running into problems, however, because I want to add drag-drop support to
the listbox section of the window.  Also, the icon for the main window is
the dialog box icon, rather than the program's icon.  How do I create the
same window as a "standard" window (opposed to a dialog box) so that I can
add drag-drop support, see the correct icon, and do other things that can
be done with standard windows that can't with dialog boxes?  I also
noticed that the accelerator table keys don't work in my window.

Help would be very much appreciated... Thanks in advance...

Ed Holzwarth

--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  bbs.oit.unc.edu or 152.2.22.80
Technical Details
Message-ID: <1992Aug17.160550.7487@samba.oit.unc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rock!concert!samba!usenet

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rock!concert!samba!usenet
From: Ed.Holzwarth@bbs.oit.unc.edu (Ed Holzwarth)
Subject: Customized "Standard" Windows
Message-ID: <1992Aug17.160550.7487@samba.oit.unc.edu>
Sender: usenet@samba.oit.unc.edu
Nntp-Posting-Host: lambada.oit.unc.edu
Organization: Extended Bulletin Board Service
Date: Mon, 17 Aug 1992 16:05:50 GMT
Lines: 21