#1  
Old 16th February 2010, 11:36 AM
Danijel Tkalcec
 
Posts: n/a
Default Re: Problem with OnQueryAccess and wallpaper

"tcaduto" schrieb:
>
> I am using the OnqueryAccess of the desktop host and
> when I set allow:=false it does not restore the wallpaper.
>
> Is there a way to manually restore the wall paper if allow is set to
> false?


Function to show the desktop wallpaper is "Show_Wallpaper" and can be found
in the "rtcScrUtils" unit.

--
Danijel Tkalcec
RealThinClient components
http://www.realthinclient.com

  #2  
Old 19th February 2010, 12:12 AM
Alexander Dober
 
Posts: n/a
Default Local keystrokes to host

Hi,

we're using the standard control and gateway with an own host program. So
I've included most parts of your portal host demo project in our host
program. Everything works as it should, but the keys are not sent to the
host. Using mouse, chat and file transfer is no problem at all. I've been
through all settings now and don't know where to look at now. Is there a
special settings for sending the local keystrokes to the host?

Best regards,

Sascha.

  #3  
Old 19th February 2010, 12:33 PM
Hannes Danzl[NDD]
 
Posts: n/a
Default Re: Local keystrokes to host

Alexander Dober wrote:

> Hi,
>
> we're using the standard control and gateway with an own host program. So
> I've included most parts of your portal host demo project in our host
> program. Everything works as it should, but the keys are not sent to the
> host. Using mouse, chat and file transfer is no problem at all. I've been
> through all settings now and don't know where to look at now. Is there a
> special settings for sending the local keystrokes to the host?


I'd need a bit more info on what system you're running on and how exactly you
send the key strokes.

--

Hannes Danzl / NexusDB

Issue Tracker - http://www.nexusdb.com/mantis/view_all_bug_page.php
Newsgroup Web Gateway - http://www.nexusdb.com/forums/
Newsgroup Search - http://www.nexusdb.com/forums/search.php
  #4  
Old 19th February 2010, 10:51 PM
Alexander Dober
 
Posts: n/a
Default Re: Local keystrokes to host

Hi,
"Hannes Danzl[NDD]" <hannes@nexusdb.dbnexus.com> schrieb im Newsbeitrag
news:xn0gqktgxbjjqka00b@news.nexusdb.com...
> I'd need a bit more info on what system you're running on and how exactly
> you
> send the key strokes.


sorry for reporting this unclear error, I don't send keystrokes myself, just
want to use the build in support mode. But I can't use the keyboard on the
host system. Everything else is fine. It must be some kind of setting, cause
I've tested our host program and the keyboard functionality was fine. Then I
saved the options for pclient, pfiletrans to an ini-file and after that I
can't hit any key on the host. I've tested the host with Windows XP, Windows
Vista and Windows 7 all with the same effect. The fault must by in my host
programm, but I can't find the right setting for enabling the keyboard
functionality.

  #5  
Old 23rd February 2010, 06:26 PM
Alexander Dober
 
Posts: n/a
Default Re: Local keystrokes to host

Hi,

I did some testing with our host program yesterday and everything looks
fine. The problem is not the host program but the control program where I
only add an extra readonly cxTextEdit for showing a number. Everything else
is untouched. So I went back to your normal control demo project an compiled
it without any changes with the same effect. When I compile your control
demo project (without any changes to the code) I can't use my local keyboard
on the host. When I use your already compiled control.exe the keyboard works
fine.

Does somebody know what to do?

  #6  
Old 23rd February 2010, 09:09 PM
Hannes Danzl[NDD]
 
Posts: n/a
Default Re: Local keystrokes to host

Alexander Dober wrote:

> Hi,
>
> I did some testing with our host program yesterday and everything looks
> fine. The problem is not the host program but the control program where I
> only add an extra readonly cxTextEdit for showing a number. Everything else
> is untouched. So I went back to your normal control demo project an compiled
> it without any changes with the same effect. When I compile your control
> demo project (without any changes to the code) I can't use my local keyboard
> on the host. When I use your already compiled control.exe the keyboard works
> fine.
>
> Does somebody know what to do?


Which Delphi version do you use? Maybe it has to do with this?

--

Hannes Danzl / NexusDB

Issue Tracker - http://www.nexusdb.com/mantis/view_all_bug_page.php
Newsgroup Web Gateway - http://www.nexusdb.com/forums/
Newsgroup Search - http://www.nexusdb.com/forums/search.php
  #7  
Old 23rd February 2010, 09:11 PM
Danijel Tkalcec
 
Posts: n/a
Default Re: Local keystrokes to host

"Alexander Dober" schrieb:
> Hi,
>
> I did some testing with our host program yesterday and everything looks
> fine. The problem is not the host program but the control program where I
> only add an extra readonly cxTextEdit for showing a number.


The answer is very simple. Read-only or not, ALL components which can get
Focus will capture OnKeyUp and OnKeyDown events when they get Focus and will
be stealing your OnKeyUp and OnKeyDown events from the Form (where the
OnKeyUp and OnKeyDown events are implemented to capture keyboard input and
send it to the Host). Event a standard TButton will capture focus and steal
your OnKeyDown and OnKeyUp events from the Form when it is selected.

In other words, your problem is the cxTextEdit component. Replace it with a
Label or some other component which can NOT get Focus and your problem will
be solved.

--
Danijel Tkalcec
RealThinClient components
http://www.realthinclient.com


  #8  
Old 23rd February 2010, 10:54 PM
Alexander Dober
 
Posts: n/a
Default Re: Local keystrokes to host

Hi,

"Danijel Tkalcec" <dtkalcec@RealThinClient.com> schrieb im Newsbeitrag
news:4b839bc1$1@DSVR011613....

> In other words, your problem is the cxTextEdit component. Replace it with
> a Label or some other component which can NOT get Focus and your problem
> will be solved.


I would agree to that, if I could compile your demo expample. But even if I
don't change a single line of code I cannot use the keyboard functionality.
I'm using Delphi 2007 at the moment with all updates.

  #9  
Old 23rd February 2010, 11:12 PM
Danijel Tkalcec
 
Posts: n/a
Default Re: Local keystrokes to host

"Alexander Dober" schrieb:
> "Danijel Tkalcec" schrieb:
>
>> In other words, your problem is the cxTextEdit component. Replace it with
>> a Label or some other component which can NOT get Focus and your problem
>> will be solved.

>
> I would agree to that, if I could compile your demo expample. But even if
> I don't change a single line of code I cannot use the keyboard
> functionality. I'm using Delphi 2007 at the moment with all updates.


Didn't you just write that you have added a cxTextEdit control to the
Desktop Viewer Form? Unless I am mistaken and you have used a completely
separate copy of all Nexus Portal files for your modified Control project,
the standard Control project will use your modified Desktop Control form and
thus have the same problem with the cxTextEdit box as your project.

PS. Are you using the stable Nexus Portal release (3.62) or a BETA release
(3.63)?

--
Danijel Tkalcec
RealThinClient components
http://www.realthinclient.com


  #10  
Old 23rd February 2010, 11:17 PM
Alexander Dober
 
Posts: n/a
Default Re: Local keystrokes to host

Hi,
"Danijel Tkalcec" <dtkalcec@RealThinClient.com> schrieb im Newsbeitrag
news:4b83b808$1@DSVR011613....
>Unless I am mistaken and you have used a completely separate copy of all
>Nexus Portal files for your modified Control project,


I had and still have a complete copy of your "projects" folder. So I can
always start new with the original project files.

> PS. Are you using the stable Nexus Portal release (3.62) or a BETA release
> (3.63)?


I've downloaded the stable release 3.62.



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +11. The time now is 12:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.