Current SDK missing QueryIsGUI() and QueryParentWindow()

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
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
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:
|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


Scott Mintz
May 20, 2008
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.


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:
> Presumably you have some earlier release.