TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Schuller
from: Roland Ott
date: 1997-03-25 14:30:52
subject: Re: PM - A strange problem

Hi Peter!

 PS> 1) I can't specify what window procedure is to be called. Probably
 PS> because I  can't specify what class the frame window's suppose to blong
 PS> to. I'm talking  the kind of class you create with WinRegisterClass,
 PS> where you can specify  window procedure aswell.

try:

 hwndFrame = WinCreateWindow (...);
 pfnwpFrame = WinSubclassWindow (hwndFrame, );

in your window procedure use:

 switch (ulMsg)
 {
  ...
  default:
   return pfnwpFrame (hwnd, ulMsg, mp1, mp2);
 }

to pass all messages not handled to the old frame window procedure.

CU/2, Roland

... I program like a MAN.  I use COPY CON PROGRAM.EXE
--- Blue Wave/Max v2.30
* Origin: CCWN: Leistung ueberzeugt ! 07151-9932-40 (2:246/1401)
SEEN-BY: 50/99 54/99 270/101 620/243 625/155 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 246/1401 50 24/888 396/1 270/101 712/624 711/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™.