TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gary Chambers
from: Johan Siegers
date: 1996-02-23 13:41:54
subject: Writing directly to a dialog

Hi Gary,

 GC> Is there anyway (not that it's absolutely necessary) to dynamically add
 GC> text to a dialog?  I have tried using WinGetPS / GpiCharStringAt and
 GC> WinDrawText / WinReleasePS with no luck. 

Basicly you did the right thing. I've used the same method to display
coloued text before I discovered PRESPARAMS ;-)

I can see two options why it didn't work for you

1. Timing - When do you display the text ?   I did it when I received a WM_PAINT
2. hwnd - Did you get the hps from the right hwnd ??

 GC> ... Topsham, ME 43 57.0'N 69 57.0'W
... Hoogeveen 52.44 N  6.30 E

Bye, Johan.

--- The-Box Point 0.15+ PC
* Origin: johan{at}bitbike.iaf.nl - CIS: 100120,2502 (2:283/512.16)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 283/512 280/801 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™.