Current SDK missing QueryIsGUI() and QueryParentWindow()

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,953
53
Albuquerque, NM
prospero.unm.edu
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?
 
May 20, 2008
9,841
69
Syracuse, NY, USA
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
 
May 20, 2008
9,841
69
Syracuse, NY, USA
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
 

samintz

Scott Mintz
May 20, 2008
1,362
12
Solon, OH, USA
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:


> ---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.
>
>
>
>