🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
3 messages
3 total messages Started by scheeyk01 Wed, 22 Jul 1992 15:41
Help: Positioning help screen
#411
Author: scheeyk01
Date: Wed, 22 Jul 1992 15:41
16 lines
971 bytes
Howdy!
I'm having some problems with PM programming. I'm wondering whether it is 
possible to set the initial position and size of the help window when
it appears. I want it to appear in its full width but half its full 
length when the user calls up the help. I would be extremely grateful if
there's someone who can show me how it is done. Thank you!

Yin-Khean CHEE
Curtin Uni.
WA
Australia

 PSImail: psi%050529452300070::SCHEEYK01
 Internet: SCHEEYK01@cc.curtin.edu.au
 Bitnet: SCHEEYK01%cc.curtin.edu.au@cunyvm.bitnet
 UUCP  : uunet!munnari.oz!cc.curtin.edu.au!SCHEEYK01
Re: Help: Positioning help screen
#443
Author: David Charlap
Date: Thu, 23 Jul 1992 20:20
18 lines
1366 bytes
In article <1992Jul23.004106.1@cc.curtin.edu.au> scheeyk01@cc.curtin.edu.au writes:
>Howdy!
>I'm having some problems with PM programming. I'm wondering whether it is 
>possible to set the initial position and size of the help window when
>it appears. I want it to appear in its full width but half its full 
>length when the user calls up the help. I would be extremely grateful if
>there's someone who can show me how it is done. Thank you!

I don't know how to do this, but I may be able to help.  Do you get a
window handle back when you launch the help system?  If you do, can
you send the window's frame a WM_RESIZE message?  That may work.


-- 
   |)  David Charlap           "I don't even represent myself
  /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
 ((|,)
  ~|~  Hi! I am a .signature virus, copy me into your .signature file.
Re: Help: Positioning help screen
#541
Author: Ed Hovorka
Date: Tue, 28 Jul 1992 17:19
20 lines
1115 bytes
>In article <1992Jul23.004106.1@cc.curtin.edu.au> scheeyk01@cc.curtin.edu.au writes:
>>Howdy!
>>I'm having some problems with PM programming. I'm wondering whether it is 
>>possible to set the initial position and size of the help window when
>>it appears. I want it to appear in its full width but half its full 
>>length when the user calls up the help. I would be extremely grateful if
>>there's someone who can show me how it is done. Thank you!

You might try this:

	/*
	 * Tell help to cover the least amount of information
	 */
	WinSendMsg(hwndHelpInstance, HM_SET_ACTIVE_WINDOW, hwndDlg,
					 hwndDlg);
-- 
Ed Hovorka
Drone
Datalogics, Inc.
A growing exited company
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads