NO

Author Topic: New in Windows programming, C and Pelles  (Read 3286 times)

Zodra1

  • Guest
New in Windows programming, C and Pelles
« on: July 02, 2008, 03:35:54 PM »
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

   

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: New in Windows programming, C and Pelles
« Reply #1 on: July 02, 2008, 07:41:19 PM »
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
}

« Last Edit: July 02, 2008, 07:44:04 PM by timovjl »
May the source be with you

Zodra1

  • Guest
Re: New in Windows programming, C and Pelles
« Reply #2 on: July 03, 2008, 10:57:37 AM »
Thank you very much! Normally a menu resource is visible in .rc tree in this case it wasn't. That confused me.