TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan de Boyne Pollard
from: James Cook
date: 1995-10-14 19:52:02
subject: Maximize window

Jonathan de Boyne Pollard wrote in a message to James Cook:

  > Is it possible to maximize the window that a text-mode app
  > is run in from the app itself?

 JdBP>  Yes.  Otherwise the 4OS2 WINDOW command would not be able to do
 JdBP> what it does.

 JdBP> You can obtain the window handles of text-mode sessions using
 JdBP> the information in the switch list (read the PM Reference).

Well, in order to peek at the switch list, I've got to have a HWND.  Where
do I get that?  Do I need to call WinInitialize at the top of my textmode
app and then convert the HAB to a HWND?

={) James (}=
james{at}unix.twisted.com

---
* Origin: Gilgamesh's Tavern - San Angelo, TX - (1:383/22)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 383/22 30 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.