Vincent Snijders wrote: > 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.
I prefer something like this instead of using defines. I don't link recompiling my libs everytime I use a different target. The wince interface is usable for handhelds, but also for the kind of boards we use at work. Marc > 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 > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
