Felipe Monteiro de Carvalho schreef:
Just to complete: Since PocketPC and smartphones are more popular then
HandheldPC I would propose that the default be having no (or few)
window styles, and you can set a define if you want HandheldPC mode.


Why not use a property of the TWin32CEWidgetSet.

In your main program use the project specific WinCEConfig

Uses
  Interfaces, WinCEConfig, etc.
====
unit WinCeConfig;

uses
  Interfaces, WinCEInt;

interfaces

implementation

intialization
  TWinCeWidgetSet(WidgetSet).UseWindowsStyles := true;

end.

That way, there is no need to recompile the widgetset. You just need to use the correct unit.

There are other possibilities, which may be easier to use.

Vincent.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to