|
From: | sheyc |
Subject: | [paragui-cvs] ListBox problem? |
Date: | Wed, 28 Apr 2004 15:09:12 +0800 |
Hi there:
Now, I work with Paragui 1.0.4 and I meet a
weired problem about ListBox. I define a widget including listbox in the
following:
WidgetTest::WidgetTest(PG_Widget *parent, const PG_Rect
&r):PG_Widget(parent,r)
{
PG_ListBox listbox(this,
PG_Rect(10,10,100,100));
listbox.Show();
}
When I new WidgetTest in main, I find that listbox will
not show??? WHY??? But when I remove listbox in WidgetTest class, and then new
WidgetTest , new ListBox(I set the parent to WidgetTest) in main, Listbox
will work and I can see listbox in the WidgetTest.
Anything wrong??? Any help is thankful~
Edan~
|
[Prev in Thread] | Current Thread | [Next in Thread] |