f



Create a custom widget

Hi everybody,

I want create my custom widget, this widget must embed 2 others custom
widgets, it should look like this:

------------------------------------
| wxASMTextCtrl                    |
| -------------   ---------------- |
| | wxASMText |   | wxASMGridder | |
| |           |   |              | |
| |           |   |              | |
| |           |   |              | |
  -------------   ---------------- |
------------------------------------

I would like wxASMText and wxASMGridder use their own DC, not the DC of
wxASMTextCtrl. I tried to put them in a Sizer but they seem don't have
their own DC and use the DC of wxASMTextCtrl.

I am on this problem since at least 1 week (I am newbie in wxWidget) and
I tried a lot of way, but i always meet a wall :/ The good thing is i
learn more and more ^^

Any ideas please ?

-- 
Guillaume aKa e-Jah
0
e
4/3/2006 3:45:37 PM
comp.soft-sys.wxwindows 21076 articles. 0 followers. Post Follow

2 Replies
213 Views

Similar Articles

[PageSpeed] 1

e-Jah wrote:
> Hi everybody,
> 
> I want create my custom widget, this widget must embed 2 others custom
> widgets, it should look like this:
> 
> ------------------------------------
> | wxASMTextCtrl                    |
> | -------------   ---------------- |
> | | wxASMText |   | wxASMGridder | |
> | |           |   |              | |
> | |           |   |              | |
> | |           |   |              | |
>   -------------   ---------------- |
> ------------------------------------
> 
> I would like wxASMText and wxASMGridder use their own DC, not the DC of
> wxASMTextCtrl. I tried to put them in a Sizer but they seem don't have
> their own DC and use the DC of wxASMTextCtrl.
> 
> I am on this problem since at least 1 week (I am newbie in wxWidget) and
> I tried a lot of way, but i always meet a wall :/ The good thing is i
> learn more and more ^^
> 
> Any ideas please ?
> 

My problem is solved.

Thank you for your readings :)

-- 
Guillaume aKa e-Jah
0
e
4/3/2006 10:05:21 PM
------=_Part_9162_17855127.1144103906180
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm just curious...
How did you solve it?!

Tatiana

On 4/3/06, e-Jah <e-Jah@nospam.fr> wrote:
>
>
> e-Jah wrote:
> > Hi everybody,
> >
> > I want create my custom widget, this widget must embed 2 others custom
> > widgets, it should look like this:
> >
> > ------------------------------------
> > | wxASMTextCtrl                    |
> > | -------------   ---------------- |
> > | | wxASMText |   | wxASMGridder | |
> > | |           |   |              | |
> > | |           |   |              | |
> > | |           |   |              | |
> >   -------------   ---------------- |
> > ------------------------------------
> >
> > I would like wxASMText and wxASMGridder use their own DC, not the DC of
> > wxASMTextCtrl. I tried to put them in a Sizer but they seem don't have
> > their own DC and use the DC of wxASMTextCtrl.
> >
> > I am on this problem since at least 1 week (I am newbie in wxWidget) an=
d
> > I tried a lot of way, but i always meet a wall :/ The good thing is i
> > learn more and more ^^
> >
> > Any ideas please ?
> >
>
> My problem is solved.
>
> Thank you for your readings :)
>
> --
> Guillaume aKa e-Jah
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
>
>

------=_Part_9162_17855127.1144103906180
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm just curious...<br>
How did you solve it?!<br>
<br>
Tatiana<br><br><div><span class=3D"gmail_quote">On 4/3/06, <b class=3D"gmai=
l_sendername">e-Jah</b> &lt;<a href=3D"mailto:e-Jah@nospam.fr">e-Jah@nospam=
..fr</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=3D"border-=
left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left=
: 1ex;">
<br>e-Jah wrote:<br>&gt; Hi everybody,<br>&gt;<br>&gt; I want create my cus=
tom widget, this widget must embed 2 others custom<br>&gt; widgets, it shou=
ld look like this:<br>&gt;<br>&gt; ------------------------------------
<br>&gt;
|
wxASMTextCtrl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>&gt; | -----=
--------&nbsp;&nbsp; ---------------- |<br>&gt; | | wxASMText |&nbsp;&nbsp;=
 | wxASMGridder | |<br>&gt;
| |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|&nbsp;&nbsp;
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;|
|<br>&gt; |
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|&nbsp;&nbsp;
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;|
|<br>&gt; |
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|&nbsp;&nbsp;
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;|
|<br>&gt;&nbsp;&nbsp; -------------&nbsp;&nbsp; ---------------- |<br>&gt; =
------------------------------------<br>&gt;<br>&gt; I would like wxASMText=
 and wxASMGridder use their own DC, not the DC of<br>&gt; wxASMTextCtrl. I =
tried to put them in a Sizer but they seem don't have
<br>&gt; their own DC and use the DC of wxASMTextCtrl.<br>&gt;<br>&gt; I am=
 on this problem since at least 1 week (I am newbie in wxWidget) and<br>&gt=
; I tried a lot of way, but i always meet a wall :/ The good thing is i
<br>&gt; learn more and more ^^<br>&gt;<br>&gt; Any ideas please ?<br>&gt;<=
br><br>My problem is solved.<br><br>Thank you for your readings :)<br><br>-=
-<br>Guillaume aKa e-Jah<br><br><br><br>-----------------------------------=
----------------------------------
<br>To unsubscribe, e-mail: <a href=3D"mailto:wx-users-unsubscribe@lists.wx=
widgets.org">wx-users-unsubscribe@lists.wxwidgets.org</a><br>For additional=
 commands, e-mail: <a href=3D"mailto:wx-users-help@lists.wxwidgets.org">wx-=
users-help@lists.wxwidgets.org
</a><br><br></blockquote></div><br>

------=_Part_9162_17855127.1144103906180--

0
tati
4/3/2006 10:38:26 PM
Reply: