🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2982

Alt keys in Dialog Boxes

#2982
From: Gary Hennigan
Date: Sat, 01 Jun 1991 21:14
19 lines
1540 bytes
	I'm trying to get a listbox within a Dialog Box to respond to the
Alt+<key> to put focus on the list box. This particular list box contains a
list of files in the current directory. I've defined a static text field
directly above it with "&Files". When I press Alt+F it sends my Dialog
procedure a WM_COMMAND message with wParam -> IDCANCEL, not exactly what I had
in mind. This is probably covered in the Win. Prog. Guide but I just shelled
out $70 for Petzold and the Ref. so I'll have to hold off on the Guide.
	If someone can assist me and needs more details let me know and I'll
e-mail the details to you.

Thanks tremendously!
--
Gary Hennigan
+---------------------------------------------------------------------------+
+  e-mail: ghenniga@NMSU.Edu, henninsf@maxwel.NMSU.Edu                      +
+  Electrical Engineering; PhD Student, Computational Electromagnetics      +
+  Physical Science Laboratory (ASS)istant systems programmer               +
+---------------------------------------------------------------------------+
Technical Details
Message-ID: <GHENNIGA.91Jun1151436@tesla.nmsu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!cs.umn.edu!ariel.unm.edu!nmsu!opus!ghenniga

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!cs.umn.edu!ariel.unm.edu!nmsu!opus!ghenniga
From: ghenniga@nmsu.edu (Gary Hennigan)
Newsgroups: comp.windows.ms.programmer
Subject: Alt keys in Dialog Boxes
Message-ID: <GHENNIGA.91Jun1151436@tesla.nmsu.edu>
Date: 1 Jun 91 21:14:36 GMT
Article-I.D.: tesla.GHENNIGA.91Jun1151436
Sender: news@NMSU.Edu
Distribution: comp
Organization: New Mexico State University
Lines: 19