New in Windows programming, C and Pelles

Started by Zodra1, July 02, 2008, 03:35:54 PM

Previous topic - Next topic

Zodra1

Hi everyone,

upon the dawn of my career I decided to start development of WIN applications. I generated a MDI application using wizard and started exploring the code. Some things I understand but Menu that is displayed (standatrd, File->New .....) is nowhere. I wanted to translate menu items and add new ones but ...

Can somebody help me please?  ???

Thx in advance

   

TimoVJL

#1
Look at rc-file.
Double click Resource files.

PS:
Use correct Language option from properties if you want multilanguage version and use Loadstring() function for strings.

With LANGUAGE keyword you can do it multilanguage.
Example:

LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US

2001 MENUEX
{
  POPUP "&File", 0, 0, 0
}

LANGUAGE LANG_FINNISH,SUBLANG_DEFAULT

2001 MENUEX
{
  POPUP "&Tiedosto", 0, 0, 0
}

May the source be with you

Zodra1

Thank you very much! Normally a menu resource is visible in .rc tree in this case it wasn't. That confused me.