title: how to draw a taskbar button like icon using theme api
body: <p>Currently I'm developing a deskband using c++. Now I'm able to draw things within the taskband window and I would like to draw a taskbar button like icon. I believe it won't be too complex since the default touch keyboard and the TouchMousePointer already made it.</p>
  
  <p>I first create a blank window and use the theme api to draw the background. But I really don't know how to make a taskbar button. Currently only static icon or half transparent button (only the words on it are transparent) works.</p>
  
  <p>In this post 
  <a href="https://stackoverflow.com/questions/260386/how-do-you-draw-a-taskbar-button-using-visual-styles">How do you draw a Taskbar button using visual styles?</a>
  they mentioned something by using .net but I really don't want to do that. Just trying to keep everything simple.(no mfc or .net)</p>
  
  <p>There's also some info in this post
  <a href="https://stackoverflow.com/questions/1819282/how-to-draw-windows-7-taskbar-like-shaded-buttons">How to draw Windows 7 taskbar like Shaded Buttons</a>
  but not really usefull.</p>
  
  <p>I also checked the import functions of TipBand.dll(default touch keyboard)</p>
  
  <pre><code>   UxTheme.dll
           18000D088 Import Address Table
           18000D668 Import Name Table
                   0 time date stamp
                   0 Index of first forwarder reference
  
                         9 CloseThemeData
                        11 DrawThemeParentBackground
                         D DrawThemeBackground
                        50 SetWindowTheme
                        4D OpenThemeData
  
  COMCTL32.dll
           18000D0B8 Import Address Table
           18000D698 Import Name Table
                   0 time date stamp
                   0 Index of first forwarder reference
  
                        7C InitCommonControlsEx
  
  GDI32.dll
           18000D358 Import Address Table
           18000D938 Import Name Table
                   0 time date stamp
                   0 Index of first forwarder reference
  
                       2D4 SelectObject
                        4C CreatePen
                        56 CreateSolidBrush
                       10E DeleteObject
                       261 LineTo
                       26F MoveToEx
  </code></pre>
  
  <p>He also used the DrawIconEx in user32.dll, I tried that but just a static icon.</p>
  
  <p>I also tried the theme api drawicon but nothing happened just blank. 
  Please guide me........</p>