×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    8

    Carbide.C++ programming

    Hi All,

    I am a beginner in Nokia development and I am now learning Carbide.C++ Pro to write a program that go on S60 3rd Edition platform.

    I want to know how can i write the code that when the user select the softkey function then change the label text?

    Thanks

    Gordon

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Carbide.C++ programming

    basically your softkeys are mapped into a commands (see your resource file for the command IDs), then when they are clicked the set command is sent to the appui class's HandleCoammand (Options-buttons though will open menu, and not generate commands into yout appui class).

    Then you have a 'case CommandId' defined in your handle command to catch it, and inside it you just use the functions defined for the label to set it to have a new text.

    yucca

  3. #3
    Registered User
    Join Date
    Nov 2006
    Posts
    8

    Re: Carbide.C++ programming

    Dear symbianyucca,

    I have a 'case CommandId' to handle command and catch it, but i don't know which function / coding / method to change the label text.

    Thank you very much.

    Regards,
    Gordon

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Carbide.C++ programming

    You should have a look into the SDK help then, basically try locating documentations from it to teh class you want to use and see which functions provided by the class can be used to achieve the functionality you want to implement.

    yucca

Similar Threads

  1. Help Regarding Tcp/IP Socket Programming
    By mottaisami in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2009-05-29, 11:01
  2. Command-Line programming
    By vivek_mics in forum Symbian
    Replies: 2
    Last Post: 2006-07-08, 11:14
  3. SIM Programming
    By arspeiser in forum Mobile Commerce
    Replies: 2
    Last Post: 2004-07-26, 08:28
  4. bluetooth programming alternatives
    By ja_calulot in forum Bluetooth Technology
    Replies: 2
    Last Post: 2003-08-20, 08:46
  5. SIM Programming
    By arspeiser in forum General Messaging
    Replies: 1
    Last Post: 2003-02-27, 08:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×