Join Today
+ Reply to Thread
Results 1 to 3 of 3

Thread: ZMessageBox

  1. #1

    Default ZMessageBox

    Does anyone know where the icons that appear with the message boxes presented by the applications that come with the phone are located? I mean the exclamation mark icon and the hourglass icon... I know ZMessageBox takes a pixmap as an argument and I can just use my own icons but I wanna keep things consistent... How do I use these icons that come with phone under EZX? Thanks.

  2. #2
    Join Date
    Mar 2005
    Location
    NZ
    Posts
    459

    Default Re: ZMessageBox

    #include <ezxres.h>

    RES_ICON_Reader ir;

    ZMessageBox::information(0, ir.getIcon(xxxxxxxxx)......

  3. #3

    Default Re: ZMessageBox

    if they're the ones i'm thinking of, the icons can be found in /usr/language/icon/iconres.ezx. you can do a strings on the file to get the long list of icons that you can use, and ezxdialog to test to see what they look like.

    attached is the relevant output of "strings iconres.ezx", there's a lot there so have fun. (there may be more iconres.ezx files around, e.g. in the themes directory, but this one has some real nice ones.)
    Attached Files Attached Files


 
+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1