Re: Mobile2Market help...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Peter Foot [MVP] (feedback_at_nospam-inthehand.com)
Date: 05/06/04


Date: Thu, 6 May 2004 14:42:47 +0100

The online SDK has an example here with the dimensions:-
http://msdn.microsoft.com/library/en-us/ui_guide_ppc/htm/Text_Header_PPC.asp

You can see this in practise on any of the settings dialogs e.g. Start >
Settings > Today.

Peter

-- 
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
"Tommy Malone" <tommy@angula.net> wrote in message 
news:uVKtg52MEHA.3972@TK2MSFTNGP10.phx.gbl...
> Peter, can you provide an example of this that I can look at?
>
> "If you want to provide a sub-heading, you should draw it on the form 
> itself
> and underline it with a single pixel line across the entire screen width
> (see other settings dialogs for an example). The SDK contains the exact
> specs for font, color and pixel dimensions required."
>
>
> "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
> news:Ob7RNszMEHA.1608@TK2MSFTNGP12.phx.gbl...
>> Answers inline:-
>>
>> "Brian H" <nospam@nospam.com> wrote in message
>> news:%238FStoyMEHA.2468@TK2MSFTNGP11.phx.gbl...
>> > Hi all,
>> >
>> > I've been encouraged by a few users of a freeware app I've written to
>> > submit
>> > it to this Mobile2Market competition.  I'm going over the requirements
> for
>> > logo certification a bit, and would like a few clarifications.  First
> the
>> > easy one:
>> >
>> > 1.  Since my app is mainly in the CF, the exemptions section seems to
>> > inficate that:
>> > - tooltips on the command bar are not needed.
>> > - it is ok for CF apps to have a different help mechanism and display a
>> > way
>> > for the user to invoke this help.
>> >
>> > Regarding the help, I simply CreateProcess an iexplore instance to
> disaply
>> > a
>> > help.html file.  Would this be allowable?
>> >
>>
>> The CF exemptions would indicate yes. However you could still use the
>> Windows CE peghelp format for your help, but just supply your own way of
>> invoking it with CreateProcess and the peghelp.exe viewer. You can then
> add
>> your help into the master contents list too. See
>>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k2/html/WinCEHelp.asp
>> For more details
>>
>> > 2. Fonts.  I allow the user to configure the fonts the application uses
>> > when
>> > drawing info to the screen.  The docs state that when displayed, these
>> > options must appear in this order, left to right:  style, font, font
> size,
>> > bold, italic, underline.
>> >
>> > In my case, I have several comboboxes on the left side of my form.  One
>> > combobox for the font, and under it, one for font size.  On the other
>> > right
>> > side of my form, I have the checkboxes for Bold, Italic, Underline, 
>> > from
>> > top
>> > to bottom.   It follows the "flavor" of the requirement but is not left
> to
>> > right.  Is this ok?  There's no logical way to make these options go
> left
>> > to
>> > right.
>> >
>>
>> Looking at the Font dialog in Pocket Word, the options are arranged Font,
>> Size and the style flags are arranged vertically below. Perhaps you could
>> follow the format used there...
>>
>> > 3.  Clarification: when I show a dialog box for settings, I must keep
> the
>> > application name as the form's text property? (IE, myform.text = <app
>> > name>).  It seems fairly strict against truncating the text, so I
> suppost
>> > "<app name>: Fonts" would likely be out.
>> >
>>
>> If you want to provide a sub-heading, you should draw it on the form
> itself
>> and underline it with a single pixel line across the entire screen width
>> (see other settings dialogs for an example). The SDK contains the exact
>> specs for font, color and pixel dimensions required.
>>
>> > 4.  Finally, is there a way to execute code should the app be
> uninstalled?
>> > I have an option that allows the app to run for certain events
>> > (CeRunAppAtEvent) and, should the user elect this option, but then
>> > uninstall
>> > the app, I'm uncertain how this should get cleaned up.  Right now I
> simply
>> > state, in the help, to make sure these options are disabled before
>> > uninstalling, but I'm not sure if this would pass logo certification.
>> >
>>
>> The way to do this would be to write a custom setup dll to be placed in
> your
>> cab files. See
>>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_evtuv/html/etgrfsetupdllfilesfordevices.asp
>>
>> You can place code in the Uninstall_Init and Uninstall_Exit to perform
>> cleanup operations when your ap is uninstalled. This setup.dll must be
>> written in native code as it must expose specific functions. ce_setup.h
>> defines the function prototypes required.
>>
>> Peter
>>
>> -- 
>> Peter Foot
>> Windows Embedded MVP
>> OpenNETCF.org Senior Advisor
>> www.inthehand.com | www.opennetcf.org
>>
>>
>
> 


Relevant Pages

  • Re: display problems in W2K TS client / W2K server is VirtPC guest
    ... I noted that I am having the same graphics issues when I run ... > You will have to install the Century Gothic font on the server. ... >> I have just converted a desktop app to be Terminal Services ...
    (microsoft.public.win2000.termserv.apps)
  • Re: Mobile2Market help...
    ... Since my app is mainly in the CF, ... > options must appear in this order, left to right: style, font, font size, ... > side of my form, I have the checkboxes for Bold, Italic, Underline, from ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Mobile2Market help...
    ... Peter, can you provide an example of this that I can look at? ... >> bold, italic, underline. ... >> combobox for the font, and under it, one for font size. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Need help to implement text/font stuff for Mozilla
    ... Peter, I have a lot of respect for you tackling this ... It would all be a lot easier if we had a native OS/2 font backend ... address is valid as is the version without "spam" ...
    (comp.os.os2.programmer.misc)
  • Re: Calibre 1.30 Font errors and scrolling error
    ... I downloaded the new Calibre app. ... As I had a older one I deleted the one I had and deleted the Calibre ... I have looked in the edit calender design and seen there is a font ... Using a Iyonix PC and RISC OS 5.13, ...
    (comp.sys.acorn.apps)