I have one other comment on this subject.
Why not just use a list view?
Even if ooDialog did have support for the Header control, there is really a
lot of work to manage the Header. The list view does all that work for you.
Another drawback is that if you did use a Header control with a list box,
the list box doesn't know about the header so the header would obscure some
rows in the list box. The solution to that is to make the list box owner
drawn.
Owner draw is something you can do in C / C++ code, but it is also a lot of
work. Being able to do it from ooDialog is problematic in my mind. And,
again, all the work is done for you in a list view.
--
Mark Miesfeld
On Thu, Oct 31, 2013 at 2:45 AM, Staffan Tylen <[email protected]>wrote:
> Art, I had a similar wish but only to find out (via Mark's usual help)
> that it is not possible (at least not for the moment). So what I did was to
> defined a frame, where I used the upper part of the frame as header area
> and the lower part for the list view. The result looks similar to a list
> view with headers but the limitation is that you can't scroll sideways,
> change the column order, or resize the columns. But with some fiddling I
> managed to get the header area to resize correctly in a resizeable window,
> and this fulfilled my requirement.
>
> Staffan
>
>
>
> On Thu, Oct 31, 2013 at 1:45 AM, Art Heimsoth <[email protected]>wrote:
>
>> > On Wed, Oct 30, 2013 at 2:21 PM, Art Heimsoth
>> > <[email protected]> wrote:
>> >
>> >> How would I go about having something like a Listbox with a header
>> >>
>> > area? I am wanting the "header" portion to stay visible when the
>> > box is vertically scrolled, and to move right/left when the box is
>> > scrolled horizontally.
>> >
>> >
>> > Art, I don't really think this is possible with a list box, in
>> > ooDialog. There is a Header control that ooDialog doesn't support
>> > yet. (I plan to in the future.)
>> >
>> >
>> > The Header control is what a list view uses for the header. It
>> > creates the control with itself as the owner, which is what keeps
>> > the header within the client area of the list view. The header
>> > control then sends its notification messages to the list view and
>> > the list view handles them.
>> >
>> >
>> > When the Header control is added, I still think this would be
>> > difficult. We would have to work out the details, but it might be
>> > doable.
>> >
>> >
>> > --
>> > Mark Miesfeld
>>
>> Gee Mark, I think this is the first time you couldn't come through for
>> me !! Thanks anyway - what I have works (for now...).
>>
>> --
>> Art Heimsoth - [email protected]
>>
>>
>> ------------------------------------------------------------------------------
>> Android is increasing in popularity, but the open development platform
>> that
>> developers love is also attractive to malware creators. Download this
>> white
>> paper to learn more about secure code signing practices that can help keep
>> Android apps secure.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Oorexx-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users