www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/18/15:19:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.2 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <1329596319.47207.YahooMailNeo@web162105.mail.bf1.yahoo.com>
Date: Sat, 18 Feb 2012 12:18:39 -0800 (PST)
From: Kevin Schnitzius <kometes AT yahoo DOT com>
Reply-To: Kevin Schnitzius <kometes AT yahoo DOT com>
Subject: mintty window handle
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1IKJ1rT012799

I would like to be able change the icon dynamically on my mintty 
windows.  However, old trick (google KB125103) for finding console 
window handles won't work anymore as it relies on the windows console 
window.  I have verified that WM_SETICON works with the correct window handle.  I have played 
around with the walking through windows but I can't figure out how to do it.


Anyone have any clues about how to find this handle programmatically?
Kevin

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019