List Info

Thread: Using Windows RC imported dialogs




Using Windows RC imported dialogs
country flaguser name
United States
2007-02-21 23:34:56

I've moved a small app from windows MFC to wxWidgets and built it on
windows and Mac Universal as an experiment. Went well, learned a lot.

The main app I need to port has 82 dialogs and 10 OpenGL windows to
convert. (New apps will defiinitely be built in wxWidgets.)

With the exception of a tree control, they all imported pretty well.
And with a little adjustment, look good on windows and the Mac.

My question is - if they look OK on both platforms can these be used
as loaded, or are they only good for cutting and pasting into a new
sizer based verison of the dialog?

Obviously, remapping them all will take quite a lot of effort and I
just want to know that it is required, or if I can get it up and
running on the Mac like this and slowly convert them over as I go.

David

__._,_.___
.

__,_._,___
Re: Using Windows RC imported dialogs
country flaguser name
United Kingdom
2007-02-23 02:31:45

Hi David,

grnbriar wrote:
> I've moved a small app from windows MFC to wxWidgets and built it on
> windows and Mac Universal as an experiment. Went well, learned a lot.
>;
Great!
> The main app I need to port has 82 dialogs and 10 OpenGL windows to
> convert. (New apps will defiinitely be built in wxWidgets.)
>
> With the exception of a tree control, they all imported pretty well.
> And with a little adjustment, look good on windows and the Mac.
>;
> My question is - if they look OK on both platforms can these be used
>; as loaded, or are they only good for cutting and pasting into a new
> sizer based verison of the dialog?
>
> Obviously, remapping them all will take quite a lot of effort and I
> just want to know that it is required, or if I can get it up and
> running on the Mac like this and slowly convert them over as I go.
>
You could certainly see how it looks, but I suspect you'll probably want
to go the
sizer route before long. I'd love to be able to automatically convert
from .RC to
sizers directly, but I haven't yet found a way to do that. There is
wxGridBagSizer
which combines the sizer notion with addressing by cell - personally I
prefer the standard
sizers, perhaps because it's what I'm used to.

82 dialogs is a lot but hopefully you'll get into your stride quickly.

Best regards,

Julian

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )