| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Q: User specific data in window classes |
From: steve{at}pil.dssd.fido.de (Steffen Offermann)
And yet another question ;-)
When I define an own window class I can use the parameter
from WinCreateWindow() to convey specific data needed by this class.
For example a structure holding values such as number of rows and
columns and current cursor position if the window is a terminal
window. So far, so good. The problem is: A pointer to this info record
is only available with the WM_CREATE message, not with WM_DESTROY, if
the documentation is right. So there is no clean and comfortable way
to have the window procedure dynamically (de)allocated this record.
My question is: Is it possible to query the record pointer using
some PM API call?
Thanks for any answer,
Steffen
--- FastEcho 1.41g+
* Origin: P.I.L Grevenbroich, FRG, 49-2181-64021 (242:4000/18)SEEN-BY: 105/42 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: 2433/1860 1800 2440/200 242/42 2452/110 105/42 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™.