1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Current SDK missing QueryIsGUI() and QueryParentWindow()

Discussion in 'Plugins' started by Charles Dye, Apr 22, 2010.

  1. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,280
    Likes Received:
    38
    TakeCmd.h in the current SDK doesn't seem to include QueryIsGUI() or QueryParentWindow(). Both appear to be present in the .lib files. Deliberately deprecated, or accidental oversight?
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,794
    Likes Received:
    29
    On Thu, 22 Apr 2010 23:03:44 -0400, Charles Dye <> wrote:

    |TakeCmd.h in the current SDK doesn't seem to include QueryIsGUI() or QueryParentWindow(). Both appear to be present in the .lib files. Deliberately deprecated, or accidental oversight?

    They're both in my header.

    /********************************************************************
    *
    * GUI (Take Command) functions
    *
    ********************************************************************/

    BOOL QueryIsGUI( void );
    /*
    Returns 1 if TCC is running inside a Take Command tab window
    */

    void WINAPI SetTransparency( HWND hWnd, unsigned int uTransparency );
    /*
    Set the window transparency level (0=invisible, 1=opaque)
    (Note that this will not work on console windows -- MS bug?)
    */

    HWND QueryParentWindow( void );
    /*
    Returns the handle of TCC's parent window
    */

    --
    - Vince
     
  3. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,280
    Likes Received:
    38
    I mean specifically the one currently at: ftp://jpsoft.com/sdk/sdk.zip

    Presumably you have some earlier release.
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,794
    Likes Received:
    29
    On Fri, 23 Apr 2010 11:05:47 -0400, Charles Dye <> wrote:

    |---Quote (Originally by vefatica)---
    |They're both in my header.
    |---End Quote---
    |I mean specifically the one currently at: ftp://jpsoft.com/sdk/sdk.zip
    |
    |Presumably you have some earlier release.

    Indeed. Though mine was new with v11, several persons pointed out omissions. I
    added a few things to ot but definitely not QueryIsGui() or QueryParentWindow().
    Apparently Rex removed them.
    --
    - Vince
     
  5. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,179
    Likes Received:
    11
    My versions of TakeCmd.h and TakeCmd.lib are dated 8/23/2009 and they both
    contain those missing functions.

    I just did a compare between my version and the one on the FTP server.
    There are substantial differences.

    -Scott

    Charles Dye <> wrote on 04/23/2010 11:05:47 AM:


     

Share This Page