TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: James Laine
from: Phil Crown
date: 1996-05-13 09:48:14
subject: Getting started with PM apps

-=> Quoting James Laine to All <=- 

 JL> I am having difficulty getting started with PM application
 JL> programming. 
 JL> Specifically, I came across an article in Volume #2, Issue #1 of the
 JL> Electronic Developers Magazine which I found on the internet.  This
 JL> article was a step-by-step introduction to PM application programming. 
 JL> It all  seemed pretty good, but when I went to apply the information
 JL> provided, I  had no success.

 JL> I ran the executable file from the demo program, and a window
 JL> interface  opened without any apparent problem.  So I took the example
 JL> C code, and  tried to compile and run it.  No problem, exept the
 JL> resulting .EXE file did not create a window on the desktop.

 [snip]

 JL> Style=FCF_STANDARD;

When you use this style (or any style), you have to make sure you
include the resources for everything this style contains, or you'll get
the results you're seeing (I've struggled with this many times). :-)

For example, make sure you have an ACCELTABLE, MENU, and ICON all in
your .rc file and include the .rc file in your project.

Phil
Fido:  1:124/8014.0 | Internet:  phil.crown{at}bluecafe.com


--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)
SEEN-BY: 50/99 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
@PATH: 124/1208 1 396/1 270/101 712/515 711/808 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™.