<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,<?xml:namespace prefix = o ns
= "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I wanted to change the
shape of the decorator for an atom object in my model according to the current
value of an attribute. I am thinking of using the Draw() method of the
CDecorator class that is generated with “decorkit.zip” to do the work. Is it
possible that I get access to the current object’s attribute in this Draw()
method? I tried to use “</SPAN></FONT><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">m_mgaFco->get_AttributeByName()</SPAN></FONT><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">” but it
seemed does not work for me.<SPAN style="mso-spacerun: yes">
</SPAN></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
style="mso-spacerun: yes"></SPAN></SPAN></FONT> </P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
style="mso-spacerun: yes">Many thanks in advance.</SPAN></SPAN></FONT><FONT
face=TimesNewRoman size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: TimesNewRoman; mso-bidi-font-family: TimesNewRoman"><o:p></o:p></SPAN></FONT></P>
<P><B><I><FONT face="Times New Roman" color=blue size=3><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: blue; FONT-STYLE: italic; mso-no-proof: yes">Yi
Chu</SPAN></FONT></I></B><o:p></o:p></P></FONT></DIV></FONT></DIV></BODY></HTML>