thanks for the reply.  the form definitely has it's menuid set to the
menubars resource id.  any other ideas?

thanks,
kevin

Jun-Kiat Lam wrote:
> 
> Hello Kevin,
> 
> hi-  have 2 questions:
> 
> 1) i'm trying to use the metrowerks tutorial- specifically chapter 3
> "adding a menu and a simple dialog."  the problem is, no menu shows up.
> i've created a menu bar, added a menu with a menu item to the menu bar,
> and set the main forms menu resource to the menu bars ID.  the menu just
> won't show up though in the emulator.  any ideas as to what i'm doing
> wrong?
> 
> Assuming that you mean the menu is created but doesn't show up in your
> application, it may be because the menu ID was not associated with the form.
> You should add the menu bar ID in the Form editor (there's a field called
> Menu Bar ID).
> 
> 2) in constructor, the tutorial says that the ids of all the resources
> will automatically make themselves unique.  but, every new resource i
> put in that's of a new type always gives itself the id 1000.  is this a
> problem?
> 
> S'ok :-) As long as each resource type is different the ID is fine. However,
> beware that Bitmap/Families are considered the 'same' by Constructor i.e. a
> Bitmap Family and Bitmap with ID 1000 will cause an error since they are
> treated as the same type of resource.
> 
> Rgds,
> Jun-Kiat Lam
> Metrowerks Technical Support
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to