🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows edit control questions

#2332
From: Glenn Wallace
Date: Wed, 24 Apr 1991 18:41
30 lines
1983 bytes
In article <1991Apr22.105818.1@doc.dss.com>, alan@doc.dss.com writes:
> 	I am tring to use an edit control to enter a series of numbers in my
> main window. The windows build fine and the edit controls work however the 

Perhaps you could use SetDlgItemText() and Get~ to do this. It may not provide
the flexibility you need, but it is easier to use.

> 	Other than the SDK are there any other books or code examples that 
> would be helpful for a windows newcomer ?

The Petzold Windows 3 book is the "bible" ... see FAQ

> 	I have a series of these edit windows and want TAB or ENTER to jump 
> between them. Does it make sense to watch the keystroke messages and send
> SETFOCUS messages to the next edit window ? Does windows have some sort of 
> mechanism to do this for me ?

Yes, they are TABSTOP styles which can be changed in the Dialog editor
in the SDK. It's in the Edit groups (or something) menu item.

+-------------------+-----------------------------------------+
| Glenn Wallace     | Net: drift@qut.edu.au                   |
| Drift Project     | Fone: +61 7 837-7126 Fax: +61 7 221-0173|
| Telecom Australia | Snail: 11th Flr 144 Edward St.,         |
+-------------------+        Brisbane, Q4000 Australia        |
|                                                             |
| Disclaimer - The opinions expressed must be my own, because |
|              Telecom is a statuatory authority and as such, |
|              is not capable of having opinions.             |
+-------------------------------------------------------------+
Technical Details
Message-ID: <1991Apr24.134124.27714@qut.edu.au>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!qut.edu.au!drift
References: <1991Apr22.105818.1@doc.dss.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!qut.edu.au!drift
From: drift@qut.edu.au (Glenn Wallace)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Windows edit control questions
Message-ID: <1991Apr24.134124.27714@qut.edu.au>
Date: 24 Apr 91 18:41:23 GMT
References: <1991Apr22.105818.1@doc.dss.com>
Organization: Queensland University of Technology
Lines: 30