Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>int pascal windrawcaption(hwnd hwnd, bool bactive)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
int pascal WinDrawCaption(HWND hWnd, BOOL bActive)

  This function draws a window's titlebar (or caption).

Parameters
   hWnd is the handle of  the window whose caption we want to draw. It
      must have the WS_CAPTION or WIN_TITLEBAR style.
   bActive is TRUE if we should draw the caption in the "active
      window" color, FALSE if we should draw the caption in the "inactive
      window" color. There are two variables which define the character
      which the two kinds of captions will be drawn with. They are defined
      as :
  BYTE chActiveCaption = ' ';       /* initially a space character */
  BYTE chInactiveCaption = '#';         /* initially a character 176   */

        MEWEL 3.1:
                Use WinSetSysChar(SYSCHAR_ACTIVE_CAPTION, ch)
                or  WinSetSysChar(SYSCHAR_INACTIVE_CAPTION, ch)
                to set the characters to be used to draw the caption
Returns
  TRUE if the caption was drawn, FALSE otherwise.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson