Read-only archive of the All About Symbian forum (2001–2013) · About this archive

AppFrame.opx

5 replies · 1,514 views · Started 16 June 2003

Hi,

Could anybody please provide some documentation of the AppFrame.opx (Functions, Parameter...)? In the SDK, Help sites I could not find anything about that. And try and error does not really hit the point. Any hint where to download? Thanks wa

in the sdk you should find a file called appframe.oph which lists all the constants and procs.

...unfortunately not. The header appframe.oxh is available. It is a binary file, readable with hex-editor and not very helpfull. Appframe.oph is not available. Further more I would expect to find something like opx-appframe.html. THis is available within the SDK for all the other OPX. Could you provide or do you know a location to download from? (The SDK I've downloade more than once) Thanks an best regards wa

yeah you are right, it's oxh ...
[code:1]
rem AppFrame.oxh
rem
rem Copyright (c) 1999-2002 Symbian Ltd. All rights reserved.
rem

CONST KUidAfOpx&=&10005235
CONST KVersionAfOpx%=$100

CONST KAfStatusPaneTypeNarrow%=1
CONST KAfStatusPaneTypeWide%=2

CONST KAfTitleTypeMainTitle%=1
CONST KAfTitleTypeTitleExtension%=2

DECLARE OPX APPFRAME,KUidAfOpx&,KVersionAfOpx%
AfOfferEvent%:(aEv1&,aEv3&,aEv4&,aEv5&,aEv6&,aEv7&) :1
AfSetCBAButton:(aButtonIndex%,aText$,aBitmapId%,aMaskId%,aCallback$) :2
AfSetCBAButtonDefault:(aButtonIndex%) :3
AfSetCBAButtonDimmed:(aButtonIndex%,aVisibility%) :4
AfCBAButtonDimmed%:(aButtonIndex%) :5
AfSetCBAButtonVisible:(aButtonIndex%,aVisibility%) :6
AfCBAButtonVisible%:(aButtonIndex%) :7
AfSetCBAVisible%:(aVisibility%) :8
AfCBAVisible%: :9
AfCBAMaxButtons%: :10
AfSetStatus%:(aType%) :11
AfSetStatusVisible%:(aVisibility%) :12
AfStatusVisible%:(BYREF aType%) :13
AfSetTitle:(aTitle$,aTitleType%) :14
AfSetTitleAreaWidth:(aTitleType%,aWidth%) :15
AfSetTitleVisible%:(aVisibility%) :16
AfTitleVisible%: :17
AfScreenInfo:(BYREF aXOrigin%, BYREF aYOrigin%, BYREF aWidth%, BYREF aHeight%) :18
AfAddToDesk: :19
AfMenuPaneToStartShowing%: :20
AfLaunchSystemLog: :21
AfToggleIrDA: :22
AfConfirmationDialog%:(aTitle$,aMessage$,aConfirmButtonTitle$) :23
AfInformationDialog%:(aTitle$,aMessage$) :24
END DECLARE

[/code:1]

It's in source/pc/system/opl on my 9210 SDK

Also look at the DemoOPL (included with the OPL SDK for Nokia 92xx) and the EventCore App from FreeEpoc :

http://www.freepoc.de

Regards,

Roberto

in deed - much more than nothing and it helps. Again thank you for your replies. On the other hand - anything known about return values or usage of the functions? Obviously I may query the web for example and start to analyse them but that's not what I intended to do. Best regards wa