[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Some questions about PARAGUI...
From: |
Ulf Lorenz |
Subject: |
Re: [paragui-users] Some questions about PARAGUI... |
Date: |
Fri, 3 Dec 2004 14:42:44 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
On Fri, Dec 03, 2004 at 09:05:54AM +0800, u821417 wrote:
> Dear ALL:
>
> (1)How do i make PG_Listbox controled by keyboard?
> i.e.,up/down key could select the item of the listbox.
AFAIK manually. I suppose the listbox doesn't stand outside of context,
but it rather in a window that is derived from PG_Widget or so. Then you
could overwrite the eventKeyDown function of this class. Unfortunately,
I don't have a sufficiently simple example at hand, so I can just ask:
Do you understand what I mean?
> (2)How to make a caption-less window?
If with "no caption" you mean "no title", you can use "SetTitle". If you
don't want the whole titlebar, either use a PG_Widget or use
PG_Window::SetTitleBarHeight.
Does this suffice?
> (3)I know XML could layout the contain of the window,
> but how about the message?
With messages you mean the connection between signals of the widgets and
slots?
Ulf
--
recursive:
see recursive