<?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 : Menu won&#039;t draw.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Menu won&#039;t draw.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 22 May 2026 16:27:47 +0000</pubDate>
  <lastBuildDate>Fri, 22 May 2026 15:17:52 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=24642</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[Menu won&#039;t draw. : Changing the window class to &amp;#034;#32770&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79397&amp;title=menu-wont-draw#79397</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24642<br /><strong>Posted:</strong> 22 May 2026 at 3:17pm<br /><br /><div>Changing the window class to "#32770" didn't help. Class handler is still CXTPSkinObjectApplicationFrame. I'm beginning to think CJ skin system simply doesn't handle this OS SetMenu call and/or the creation of the menu.</div><div><br></div><div>How about it CJ, what's my option here? I don't actually own the code that is failing whenever a skin is present. Do I have to have the actual programmers give me window class names to exclude from skinning?</div>]]>
   </description>
   <pubDate>Fri, 22 May 2026 15:17:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79397&amp;title=menu-wont-draw#79397</guid>
  </item> 
  <item>
   <title><![CDATA[Menu won&#039;t draw. : Seems to be perhaps the wrong...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79396&amp;title=menu-wont-draw#79396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24642<br /><strong>Posted:</strong> 22 May 2026 at 3:01pm<br /><br />Seems to be perhaps the wrong skin class? I have found that no matter where I click in the "Menu" bar area the StartMenuState function is called and the only menu it supports seems to be the system menu.]]>
   </description>
   <pubDate>Fri, 22 May 2026 15:01:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79396&amp;title=menu-wont-draw#79396</guid>
  </item> 
  <item>
   <title><![CDATA[Menu won&#039;t draw. : Sorry as I hack thru this website....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79395&amp;title=menu-wont-draw#79395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24642<br /><strong>Posted:</strong> 22 May 2026 at 2:58pm<br /><br />Sorry as I hack thru this website. Pasted images show up in the page but when I "Post Reply" I see nothing. Hope this shows up. Left side is what I see when clicking "Menu". Right side has the skin and nothing shows up when I click "Menu". System menu shows up just fine.<img src="uploads/3213/Nomenudraw.png" height="451" width="1103" border="0" />]]>
   </description>
   <pubDate>Fri, 22 May 2026 14:58:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79395&amp;title=menu-wont-draw#79395</guid>
  </item> 
  <item>
   <title><![CDATA[Menu won&#039;t draw. :  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79394&amp;title=menu-wont-draw#79394</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24642<br /><strong>Posted:</strong> 22 May 2026 at 2:53pm<br /><br /><img src="" border="0" />]]>
   </description>
   <pubDate>Fri, 22 May 2026 14:53:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79394&amp;title=menu-wont-draw#79394</guid>
  </item> 
  <item>
   <title><![CDATA[Menu won&#039;t draw. : Sorry, ignore &amp;#034;I have debugged...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79393&amp;title=menu-wont-draw#79393</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24642<br /><strong>Posted:</strong> 22 May 2026 at 2:52pm<br /><br />Sorry, ignore "I have debugged and see CXTPSkinManagerSchema::CalcFrameBorders is called but it isn't calculating any width." The width isn't being used. The system menu does draw but the menu added to the window doesn't.]]>
   </description>
   <pubDate>Fri, 22 May 2026 14:52:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79393&amp;title=menu-wont-draw#79393</guid>
  </item> 
  <item>
   <title><![CDATA[Menu won&#039;t draw. : The menu added to a window won&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79392&amp;title=menu-wont-draw#79392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24642<br /><strong>Posted:</strong> 22 May 2026 at 2:50pm<br /><br /><div>The menu added to a window won't draw when a skin is active. I have debugged and see CXTPSkinManagerSchema::CalcFrameBorders is called but it isn't calculating any width. All the relevant menu methods seem to get called. The class being used for the window is CXTPSkinObjectApplicationFrame.</div><div><br></div><div>Here is the minimum code:</div><div><br></div><div>static const TCHAR s_szAddInManagerDialogClass&#091;&#093; = TEXT("AddInManagerDialogClass");<br>static const TCHAR s_szAddInManagerMenuText&#091;&#093; = TEXT("Item 1");<br>static const UINT s_nAddInManagerMenuItem = 1001;<br><br></div><div><br></div><div>&nbsp; HWND hDialog;<br>&nbsp; WNDCLASSEX wc = { 0 };<br>&nbsp; wc.cbSize = sizeof(WNDCLASSEX);<br>&nbsp; wc.lpfnWndProc = AddInManagerWndProc;<br>&nbsp; wc.hInstance = GetModuleHandle(NULL);<br>&nbsp; wc.lpszClassName = s_szAddInManagerDialogClass;<br>&nbsp; wc.cbWndExtra = DLGWINDOWEXTRA;<br>&nbsp; if (!RegisterClassEx(&amp;wc) &amp;&amp; GetLastError() != ERROR_CLASS_ALREADY_EXISTS)<br>&nbsp; {<br>&nbsp; &nbsp; &nbsp; return HRESULT_FROM_WIN32(GetLastError());<br>&nbsp; }<br><br>&nbsp; hDialog = CreateWindowEx(WS_EX_CLIENTEDGE, s_szAddInManagerDialogClass, TEXT("Dialog with menu"),<br>&nbsp; &nbsp; WS_OVERLAPPEDWINDOW | WS_VISIBLE,<br>&nbsp; &nbsp; 100, 100, 500, 300, NULL, NULL, GetModuleHandle(NULL), NULL);<br>&nbsp; if (!hDialog)<br>&nbsp; {<br>&nbsp; &nbsp; &nbsp; return HRESULT_FROM_WIN32(GetLastError());<br>&nbsp; }<br><br>&nbsp; HMENU hMenu = ::CreateMenu();<br>&nbsp; HMENU hSubMenu = ::CreatePopupMenu();<br>&nbsp; AppendMenu(hSubMenu, MF_OWNERDRAW, s_nAddInManagerMenuItem, s_szAddInManagerMenuText);<br>&nbsp; AppendMenu(hMenu, MF_POPUP, (UINT_PTR)hSubMenu, TEXT("Menu"));<br><br>&nbsp; &nbsp; SetMenu(hDialog, hMenu);<br>&nbsp; &nbsp; DrawMenuBar(hDialog);<br><br></div><div><br></div><div><img src="" border="0" /></div><div><br></div><div>If I turn off the skin (I added code to draw the menu items to make sure it wasn't a black on black issue:</div><div><br></div><div><img src="" border="0" /></div>]]>
   </description>
   <pubDate>Fri, 22 May 2026 14:50:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79392&amp;title=menu-wont-draw#79392</guid>
  </item> 
 </channel>
</rss>