🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hook

#1295
From: Remek
Date: Fri, 06 Jul 2007 18:07
24 lines
1631 bytes
Użytkownik "Matuzalem" napisał:

> Kilka mozliwosci:

> - dodajesz wlasna obsluge komunikatow dla 'edit' - SetWindowLong(hwnd,
> DWL_DLGPROC, ...)
> - dodajesz glowna petle programu i obsluge TranslateMessage,
> - do DlgProc - u Ciebie DlgFunc - dodajesz: "case WM_GETDLGCODE:
> return DLGC_WANTALLKEYS;"

> W/w sposoby powinny zadzialac jesli pozostala obsluga komunikatow
> (czytaj program) jest dobrze napisana.

Będę próbował. Oglądałeś mój kod? Może wystarczy jakaś drobna poprawka?

> dodajesz glowna petle programu i obsluge TranslateMessage

TranslateMessage jeśli się nie mylę tłumaczy kod przycisku na znak. W tym
przypadku jest to chyba zbędne.

-- 
Pozdrawiam Remek
K7S5A, Duron 1,1
Windows98 SE, IE6, OE6
Technical Details
Message-ID: <f6m08u$s9i$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <f6j5qa$rvh$1@inews.gazeta.pl> <1183724969.202277.113030@r34g2000hsd.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: "Remek" <wiasmed@neostrada.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: Hook
Date: Fri, 6 Jul 2007 20:07:32 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 25
Message-ID: <f6m08u$s9i$1@inews.gazeta.pl>
References: <f6j5qa$rvh$1@inews.gazeta.pl> <1183724969.202277.113030@r34g2000hsd.googlegroups.com>
NNTP-Posting-Host: 213.199.219.7
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1183745118 28978 213.199.219.7 (6 Jul 2007 18:05:18 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Fri, 6 Jul 2007 18:05:18 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2800.1123
X-User: remeka
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit