🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #1910

Re: Focus

#1910
From: Bogdan (bogdro)
Date: Sun, 24 May 2009 09:36
17 lines
1523 bytes
Remek pisze:
> Witam
> 
> Jak sprawdzić w oknie dialogowym, która kontrolka jest "podświetlona",
> czyli ma ustawiony Focus?

 GetFocus? Co prawda jest napisane, że ta funkcja podaje, które *okno*
(nie element) ma focus, ale może jakoś podziała. Na przykład SetFocus
można uruchomić z uchwytem na element okna (patrzę na przykład, gdzie
podaje się jej zmienną "hwndCombo1").
 Pewnie można też nasłuchiwać wiadomości WM_SETFOCUS.

-- 
Pozdrawiam/Regards - Bogdan                     (GNU/Linux & FreeDOS)
Kurs asemblera x86 (DOS, GNU/Linux):http://rudy.mif.pg.gda.pl/~bogdro
Grupy dyskusyjne o asm:  pl.comp.lang.asm alt.pl.asm alt.pl.asm.win32
www.JabberPL.org www.TorProject.org Soft (EN): miniurl.pl/bogdro-soft
Technical Details
Message-ID: <gvb4fq$fc5$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <gv3pc5$ni7$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: "Bogdan (bogdro)" <bogdan@poczta.gazeta.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: Focus
Date: Sun, 24 May 2009 11:36:50 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 17
Message-ID: <gvb4fq$fc5$1@inews.gazeta.pl>
References: <gv3pc5$ni7$1@inews.gazeta.pl>
NNTP-Posting-Host: 66.230.230.230
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1243157823 15749 66.230.230.230 (24 May 2009 09:37:03 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Sun, 24 May 2009 09:37:03 +0000 (UTC)
X-User: bog.d
In-Reply-To: <gv3pc5$ni7$1@inews.gazeta.pl>
User-Agent: Thunderbird 2.0.0.21 (X11/20090302)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit