Re: Unified libraries to allow porting code to other oses

new topic     » goto parent     » topic index » view thread      » older message » newer message

Personally, I prefer the way Lazarus does the job: the menu bar, the tool bar and the status bar grow with the size of the window. Panels have positioning properties to align on left, top, right or bottom sides, or on the remaining free area. I don't know what sizers are, even if the program uses them internally.

For components sitting on the panels, it is very simple: when the user resizes the window, there is an onResize event, caught by a function. In that function, I can resize which components I want to resize.

I will check if I can use an LFM file written by Lazarus to draw a windows with Win32lib. It may be possible.

Jean-Marc

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu