<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : change pushButton Icon position</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : change pushButton Icon position]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 11:39:28 +0000</pubDate>
  <lastBuildDate>Fri, 08 Jun 2007 09:09:46 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=7041</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[change pushButton Icon position : hi yair, Thank you for your good...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7041&amp;PID=23533&amp;title=change-pushbutton-icon-position#23533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2941">Mika</a><br /><strong>Subject:</strong> 7041<br /><strong>Posted:</strong> 08 June 2007 at 9:09am<br /><br /><P>hi yair,</P><P>Thank you for your good advice!<BR>I tried UpdateRTLForSingelCtl procedure but horizontal direction of loded picture was flipped like below screen shot.<BR>And then, I made a flipped picture and tried it again. Picture is ok but some character next to alphabet was moved to opposite direction.</P><DIV>Do you have some idea to avoid this problem?</DIV><DIV></DIV><img src="https://forum.codejock.com/uploads/20070608_090748_flipped.jpg" border="0">]]>
   </description>
   <pubDate>Fri, 08 Jun 2007 09:09:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7041&amp;PID=23533&amp;title=change-pushbutton-icon-position#23533</guid>
  </item> 
  <item>
   <title><![CDATA[change pushButton Icon position : hi all   if you are using RTL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7041&amp;PID=22541&amp;title=change-pushbutton-icon-position#22541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2930">yair-edsoft</a><br /><strong>Subject:</strong> 7041<br /><strong>Posted:</strong> 04 May 2007 at 9:11am<br /><br />hi all <DIV></DIV><DIV></DIV>if you are using RTL Lay out and want to change the posion of the icon to the right of the text,<DIV>&nbsp;</DIV><DIV>(this code was written by codejock and it placed in one of the sampels "MultiLanguage Scribble")</DIV><DIV>&nbsp;</DIV><DIV>Example:(Vb6.0)</DIV><DIV>copy this and add it to one of your modules</DIV><DIV>&nbsp;</DIV><DIV>Const WS_EX_LAYOUTRTL = &amp;H400000<BR>Const WS_EX_NOINHERITLAYOUT = &amp;H100000<BR>Const GWL_EXSTYLE = -20<BR>Const GW_CHILD = 5<BR>Const GW_HWNDNEXT = 2<BR>Private Declare Function InvalidateRect Lib "user32" (ByVal hWnd As Long, lpRect As Long, ByVal bErase As Long) As Long<BR>Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long<BR>Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long<BR>Private Declare Function GetWindow Lib "user32" (ByVal hWnd As Long, ByVal wCmd As Long) As Long<BR>Private Declare Function GetDesktopWindow Lib "user32" () As Long<BR>Private Declare Function GetParent Lib "user32" (ByVal hWnd As Long) As Long<BR></DIV><DIV>&nbsp;</DIV><DIV>Public Sub UpdateRTLForSingelCtl(hWnd, bRTLLayout As Boolean)<BR>&nbsp;&nbsp;&nbsp; Dim Old As Long<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Old = GetWindowLong(hWnd, GWL_EXSTYLE)<BR>&nbsp;&nbsp;&nbsp; SetWindowLong hWnd, GWL_EXSTYLE, IIf(bRTLLayout, Old Or WS_EX_LAYOUTRTL, Old And Not WS_EX_LAYOUTRTL)<BR></DIV><DIV>end sub</DIV><DIV>&nbsp;</DIV><DIV>using the Code:</DIV><DIV>btn.icon=imag.Icons.GetImage(Id,0)</DIV><DIV>UpdateRTLForSingelCtl btn.hWnd,True</DIV>]]>
   </description>
   <pubDate>Fri, 04 May 2007 09:11:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7041&amp;PID=22541&amp;title=change-pushbutton-icon-position#22541</guid>
  </item> 
 </channel>
</rss>