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

-=> Quoting James Laine to Phil Crown <=- 
 
 PC> When you use this style (or any style), you have to make sure you
 PC> include the resources for everything this style contains, or you'll
 PC> get the results you're seeing (I've struggled with this many times).
 PC> :-) 
 PC> For example, make sure you have an ACCELTABLE, MENU, and ICON all in
 PC> your .rc file and include the .rc file in your project.

 JL> Thanks.

 JL> Now I will show my ignorance.  -  What is an ACCELTABLE, and acn you
 JL> please explain .RC files to me.

You put resources in the .RC file and put the .RC file in your project.

Resources are things like:

  ACCELTABLE - is the list of keys that your program uses.  For example,
    Ctrl-O to open a file, F3 to exit the program, etc...).

  MENU - is part of the frame window, below the title bar.

  ICON, BITMAPS and POINTERs - any icons, etc... your program uses.

There are other things that can go in the .RC file, but I haven't used
all of them.

EDM/2 probably has examples with .RC files.

You may also want to get a good book, I recommend "OS/2 Presentation
Manager Programming" by Petzold.  This is a good book for beginners.

Real World Programming is also another good book, but can be a bit heavy
for the beginner.

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™.