🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #411

Re: keybd_event in Service

#411
From: Emmanuel
Date: Tue, 29 Apr 2008 07:25
17 lines
1581 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> д����Ϣ����:481642eb$1@newsgroups.borland.com...
>
> "Emmanuel" <emmanuel@erphk.com> wrote in message 
> news:481611bf@newsgroups.borland.com...
>
>> how can I do the same effect in Service?
>
> For what purpose exactly?  A service does not run in the same input 
> session that the user interacts with.  Thus, a service does not have 
> access to change the keyboard state of the current interactive user.  What 
> are you trying to accomplish exactly?
>
>
> Gambit
>
I want to keep the Num Lock on or off by the service,before login the PC 
Technical Details
Message-ID: <4816cd76@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <481611bf@newsgroups.borland.com> <481642eb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,71981180b614d304
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: "Emmanuel" <emmanuel@erphk.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <481611bf@newsgroups.borland.com> <481642eb$1@newsgroups.borland.com>
Subject: Re: keybd_event  in Service
Date: Tue, 29 Apr 2008 15:25:53 +0800
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 116.18.31.250
Message-ID: <4816cd76@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1209453942 116.18.31.250 (29 Apr 2008 00:25:42 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mail