Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #9365

Getting console window's hWnd

From Quentin Pope <qp19433@hotmail.NOSPAM.com>
Newsgroups comp.lang.c
Subject Getting console window's hWnd
Date 2011-08-13 20:40 +0000
Organization Aioe.org NNTP Server
Message-ID <j26ngo$v68$1@speranza.aioe.org> (permalink)

Show all headers | View raw


Hello

I am writing a console app for Windows (running on Vista 32 bit at 
present)

I would like to be able to resize the DOS window the program is running 
in, from within my code

For this I would need to get that window's hWnd

Can anyone advise how to do this?

Many Thanks.

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Getting console window's hWnd Quentin Pope <qp19433@hotmail.NOSPAM.com> - 2011-08-13 20:40 +0000
  Re: Getting console window's hWnd Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-08-13 22:18 +0100
  Re: Getting console window's hWnd "BartC" <bc@freeuk.com> - 2011-08-13 22:44 +0100
    Re: Getting console window's hWnd "Heinrich Wolf" <invalid@invalid.invalid> - 2011-08-14 03:43 +0200
  Re: Getting console window's hWnd Geoff <geoff@invalid.invalid> - 2011-08-13 19:24 -0700
  Re: Getting console window's hWnd jacob navia <jacob@spamsink.net> - 2011-08-14 10:03 +0200
    Re: Getting console window's hWnd Geoff <geoff@invalid.invalid> - 2011-08-14 01:48 -0700
    Re: Getting console window's hWnd Harald van Dijk <truedfx@gmail.com> - 2011-08-14 01:24 -0700
      Re: Getting console window's hWnd jacob navia <jacob@spamsink.net> - 2011-08-14 11:13 +0200
        Re: Getting console window's hWnd Robert Wessel <robertwessel2@yahoo.com> - 2011-08-14 05:13 -0500
          Re: Getting console window's hWnd jacob navia <jacob@spamsink.net> - 2011-08-14 12:31 +0200
            Re: Getting console window's hWnd BruceS <bruces42@hotmail.com> - 2011-08-15 17:10 +0000
              Re: Getting console window's hWnd Keith Thompson <kst-u@mib.org> - 2011-08-15 10:44 -0700
              Re: Getting console window's hWnd Robert Wessel <robertwessel2@yahoo.com> - 2011-08-15 12:50 -0500
        Re: Getting console window's hWnd Harald van Dijk <truedfx@gmail.com> - 2011-08-14 02:37 -0700
        Re: Getting console window's hWnd Kenneth Brody <kenbrody@spamcop.net> - 2011-08-15 15:24 -0400
    Re: Getting console window's hWnd Kenneth Brody <kenbrody@spamcop.net> - 2011-08-15 15:21 -0400

csiph-web