Ariane Soft PPL2 Pocket Programming DataMite
  #1  
Old 03-27-2009, 01:42 AM
CeluGeek CeluGeek is offline
Junior Member
 
Join Date: Mar 2009
Location: San Juan, Puerto Rico
Posts: 1
Question Newbie here: How to create softkeys?

Hi everybody.

I've been exploring PPL and racking my brain with it for the last 10 days. As all my previous experience with programming has been in various forms of BASIC, it has been very hard to make the transition to PPL's C-style.

I'm trying to create a Windows Mobile application for both touchscreen and non-touchscreen devices that provides the equivalent of the Run dialog you get in the PC when you press WindowsKey+R. I finally got down the WORST part of the project, getting the ShellExecuteEx function to actually launch the item (at least on the PC), yet I'm stuck in what is supposed to be the easiest part of the program - the UI.



As you can see from the picture above, I already have the UI perfectly designed. The problem is that this wasn't in PPL! I just can't find out how to make the softkeys in PPL, and a search in this forum didn't have a relevant thread. I got used to creating a menu bar with just 2 menus and have them automatically converted to softkeys, as is the case with other less capable dev tools, but I guess that was too much to expect here after all.

How does one create softkeys and their menus in PPL? Thanks in advance.
Reply With Quote
  #2  
Old 03-27-2009, 03:29 PM
Mike Halliday Mike Halliday is offline
Senior Member
 
Join Date: Sep 2007
Location: Warrington, United Kingdom
Posts: 821
Send a message via Skype™ to Mike Halliday
Default

You should be able to import the _SOFTKEYCMD function from aygshell.dll

check http://msdn.microsoft.com/en-us/library/bb416694.aspx for the _SOFTKEYCMD structure, and then search the forum for examples on how to call external DLL functions.

This would be the way that I would tackle this particular problem.

Regards

Mike.
Reply With Quote
Reply

Tags
create, softkeys

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (c) ArianeSoft Inc.
Copyright © 2009 www.ppl-lang.com - All rights reserved
Web Design by BR Web Consulting Ltd