Ray,
RG>Following is a copy of the .rh file produced by Resource Workshop
RG>
RG>#define EXITMENU 1
RG>#define CM_EXIT 24310
RG>#define CM_HEIGHT26 106
RG>#define CM_HEIGHT20 105
RG>#define CM_HEIGHT14 104
RG>#define CM_HEIGHT10 103
RG>#define CM_HEIGHT8 101
RG>
RG>The first line seems to be the problem. With that removed the menu
RG>appears in the window. Following is part of the code to set up the window
RG>sub class and assign the menu.
RG>
RG>
RG>#include
RG>#include
RG>#include
RG>#include
RG>#include
RG>#include
// window resource header
RG>#include
RG>
RG>#include "window2.rh" // This is the file above
// another window resource header
Any chance some of the resources were declared twice? You are
allowed to declare more than one resource of a particular type, but you
must give them different values. The compiler will not warn you if they
are named the same because the declaration is still legal - but you
program will GPF when it tries to run the code because it will not know
which code you meant to invoke.
Have another look at your code. If you still can't find the problem,
then email it to me and I'll have a look at your project.
Pat Glenn
glennp@planet.eon.net
Please do not send by fidonet as most BBS operators do not
appreciate the extra bandwidth being used on their system.
___
* UniQWK v4.2 * The Windows Mail Reader
--- Maximus 3.01
---------------
* Origin: C+Net BBS. Programming & Networking. (1:342/601)
|