Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, March 2008
enable/disable num_lock problem


Message 1 in thread

HI.
    how can I disable num_lock when enter a widget, and enable num_lock when 
exit it?

    thx!

--zjk 


--
 [ signature omitted ] 

Message 2 in thread


"zjk" <jkzhang88@xxxxxxxxx> schreef in bericht 
news:fs0df2$4vr$1@xxxxxxxxxxxxxxxx
> HI.
>    how can I disable num_lock when enter a widget, and enable num_lock 
> when exit it?
Where do you exactly have the problem? With the numlock toggling, or with 
the making something happen on entering/leaving a widget? What did you 
already try?

Regards,

André 

--
 [ signature omitted ] 

Message 3 in thread

I don't know which API to enable/disable num_lock, NOT using keyboard press.
do you have any idea?

"André Somers" <andre@xxxxxxxxxxxxxxxx> ??????:fs84u1$6fd$1@xxxxxxxxxxxxxxxx
>
>
> "zjk" <jkzhang88@xxxxxxxxx> schreef in bericht 
> news:fs0df2$4vr$1@xxxxxxxxxxxxxxxx
>> HI.
>>    how can I disable num_lock when enter a widget, and enable num_lock 
>> when exit it?
> Where do you exactly have the problem? With the numlock toggling, or with 
> the making something happen on entering/leaving a widget? What did you 
> already try?
>
> Regards,
>
> André 


--
 [ signature omitted ] 

Message 4 in thread

On fredag den 21. Marts 2008, zjk wrote:
> HI.
>     how can I disable num_lock when enter a widget, and enable num_lock
> when exit it?

You can't do that with Qt. You have to implement platform specific behaviour 
for it.

Bo.

-- 
 [ signature omitted ]