<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - how to get references to  current RWsSession, CWsScreenDevice, RWindowBase - Comments</title>
 <link>http://www.newlc.com/en/forum/how-get-references-current-rwssession-cwsscreendevice-rwindowbase</link>
 <description>Comments for &quot;how to get references to  current RWsSession, CWsScreenDevice, RWindowBase&quot;</description>
 <language>en</language>
<item>
 <title>Re: how to get...........................</title>
 <link>http://www.newlc.com/en/forum/how-get-references-current-rwssession-cwsscreendevice-rwindowbase#comment-41766</link>
 <description>&lt;p&gt;hi,&lt;br /&gt;
error solved using&lt;br /&gt;
  *CCoeEnv::Static()-&gt;ScreenDevice()&lt;/p&gt;

&lt;p&gt;   in place of &lt;br /&gt;
      CCoeEnv::Static()-&gt;ScreenDevice()&lt;/p&gt;

&lt;p&gt;Thanx...........&lt;/p&gt;</description>
 <pubDate>Mon, 24 Sep 2007 14:24:49 +0200</pubDate>
 <dc:creator>sandeepmhptr</dc:creator>
 <guid isPermaLink="false">comment 41766 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to get .......</title>
 <link>http://www.newlc.com/en/forum/how-get-references-current-rwssession-cwsscreendevice-rwindowbase#comment-41761</link>
 <description>&lt;p&gt;Hi Mr. Alh,&lt;br /&gt;
              Can you tell what is the problem here:&lt;br /&gt;
  Tect aScreenRect=iAppView-&gt;Rect();&lt;br /&gt;
  aScreenRect.Shrink(10,10);&lt;/p&gt;

&lt;p&gt; iCamera-&gt;StartViewFinderDirectL(CCoeEnv::Static()-&gt;WsSession(),CCoeEnv::Static()-&gt;ScreenDevice(),*iAppView-&gt;DrawableWindow(), aScreenRect);&lt;/p&gt;

&lt;p&gt;I get error as:---&lt;/p&gt;

&lt;p&gt;&#039;CCamera::StartViewFinderDirectL(RWsSession &amp;, CWsScreenDevice &amp;, RWindowBase &amp;, TRect &amp;, TRect &amp;)&#039; (non-static)&lt;/p&gt;

&lt;p&gt;&#039;CCamera::StartViewFinderDirectL(RWsSession &amp;, CWsScreenDevice &amp;, RWindowBase &amp;, TRect &amp;)&#039; (non-static)	&lt;/p&gt;

&lt;p&gt;function call &#039;[CCamera].StartViewFinderDirectL({lval} RWsSession, CWsScreenDevice *, {lval} RDrawableWindow, {lval} TRect)&#039; does not match	&lt;/p&gt;</description>
 <pubDate>Mon, 24 Sep 2007 14:06:58 +0200</pubDate>
 <dc:creator>sandeepmhptr</dc:creator>
 <guid isPermaLink="false">comment 41761 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to get references to  current RWsSession, CWsScreenDevic</title>
 <link>http://www.newlc.com/en/forum/how-get-references-current-rwssession-cwsscreendevice-rwindowbase#comment-41751</link>
 <description>&lt;p&gt;The RWsSession can be retrieved from CCoeEnv::Static()-&gt;WsSession()&lt;br /&gt;
The CWsScreenDevice can be retrieved from the above current RWsSession  (RWsSession::ScreenDevice())&lt;br /&gt;
and&lt;br /&gt;
the RWindowBase can be retrieved from any CCoeControl by calling Window() or DrawableWindow().&lt;/p&gt;</description>
 <pubDate>Mon, 24 Sep 2007 11:18:27 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 41751 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to get references to  current RWsSession, CWsScreenDevice, RWindowBase</title>
 <link>http://www.newlc.com/en/forum/how-get-references-current-rwssession-cwsscreendevice-rwindowbase</link>
 <description>&lt;p&gt;Hi,&lt;br /&gt;
   I am using s60 3rd edn..&lt;br /&gt;
   I need to get references to RWsSession, CWsScreenDevice, RWindowBase  from&lt;br /&gt;
   appUi/appView class.&lt;br /&gt;
   Is there any functions to find them out?&lt;/p&gt;

&lt;p&gt;With Regards&lt;br /&gt;
Sandeep Mohapatra&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/how-get-references-current-rwssession-cwsscreendevice-rwindowbase&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/how-get-references-current-rwssession-cwsscreendevice-rwindowbase#comments</comments>
 <category domain="http://www.newlc.com/en/forums/2d-3d-graphics">Bitmaps and Graphics</category>
 <pubDate>Mon, 24 Sep 2007 10:58:27 +0200</pubDate>
 <dc:creator>sandeepmhptr</dc:creator>
 <guid isPermaLink="false">19059 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
