TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Peter Schuller
date: 1997-03-22 22:52:04
subject: PM - A strange problem

Hi!

I hardly know anything about PM programming, but I'm trying to make this PM 
based app. I„ve managed to create the main window (a stardard framewindow), 
and I've made the window procedure, and I've made the resources and binded 
(what's bind in past tence?) it into the EXE. But there are two problems:

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

2) Everytime I click any menu-option (including those I've included in the 
switch-cases in the window procedure, which is probably not called at all) the 
window is minimized. It's really strange. But I suspect it has something to do 
with problem number 1. I don't have much PM experience, but I'd guess it's 
because a framewindow with a menu, that doesn't have a window procedure seems 
a bit wrong to me...

/ Peter Schuller   [TeamOS/2]   peter.schuller{at}noreva.se


--- AdeptXBBS v1.08a26 (VC) (Registered)
* Origin: Gamma Epsilon 24h/day +46-(0)18-367781 (2:206/139)
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: 206/100 205/625 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™.