Author |
Topic |
|
mmp
31 Posts |
Posted - 28 Oct 2003 : 15:53:13
|
Hello,
I am using the Advanced Graphics Client and I would like to prevent the mouse cursor from showing.
My ADSLOAD.HWT file contains:
; User/Application settings [default] 0xC0000F00 0x00000000 ; Boot logo: [00=none] 01=ADS logo 0xC0000F10 0x00000000 ; PCMCIA power: [00=5V] 01=3.3V 0xC0000F44 0x00000000 ; Mouse pointer: [00=disable] 01=enable
However, the mouse cursor is still displayed.
Are there any additional steps required in order to have the mouse cursor hidden ? (Note: I am sure this is the .HWT file stored on the device's memory since I checked this file via the debug menu.)
Thanks in advance, Marius
|
|
akidder
1519 Posts |
Posted - 28 Oct 2003 : 16:13:06
|
Hi Marius. The AGC uses the Epson display controller, which supports a hardware mouse cursor. To enable or disable that cursor, use the following entry in adsload.reg:
[HKEY_LOCAL_MACHINE\Drivers\Display\S1D13806] "Cursor"=dword:0
|
|
|
mmp
31 Posts |
Posted - 28 Oct 2003 : 16:52:39
|
Hi Drew,
Thanks for your reply.
I modified the ADSLOAD.REG file so that it contains:
[HKEY_LOCAL_MACHINE\Drivers\Display\S1D13806] "Bpp"=dword:10 "Height"=dword:1e0 ; 480 "Width"=dword:280 ; 640 ; "Height"=dword:258 ; 600 ; "Width"=dword:320 ; 800 "Cursor"=dword:0
Unfortunately, I can still see the mouse cursor. The .HWT remained unchanged in the sense that it has a 0 value for the mouse pointer.
Anything else we may have missed?
Marius
|
|
|
mmp
31 Posts |
Posted - 29 Oct 2003 : 16:36:12
|
more information:
By making the two modifications listed above, I almost got rid of the mouse cursor; I am saying almost because it still shows when I press on icons or controls of applications. For example, when I boot the OS, and I get to the desktop screen I can see a mouse cursor. However, if I tap anywhere other than some icons on the desktop, the mouse cursor doesn't follow my tappings. When I tap on an icon, the mouse cursor moves on top of the icon. Almost the same thing happens in my application (MFC.) When I execute the application, no mouse cursor can be seen. If I click anywhere in the dialog screen other than controls (buttons, static controls receiving notifications, etc) the mouse cursor doesn't show; However, when I click on a button the mouse cursor appears on that button.
Did anybody else experience a similar thing?
|
|
|
akidder
1519 Posts |
Posted - 31 Oct 2003 : 15:27:08
|
Thanks for catching this issue, Marius. It looks like there are two more registers in the display controller you'll need to change. Put them in your adsload.reg file (replacing existing "0x070" and "0x080" keys, if they exist):
[HKEY_LOCAL_MACHINE\Drivers\Display\EPSON13806\REGISTERS] "0x070"=dword:00 ; LCD Ink/Cursor Control Register "0x080"=dword:00 ; CRT/TV Ink/Cursor Control Register
We haven't tested this ourselves yet, but give it a shot and let us know if it takes care of the unwelcome appearances of the cursor. |
|
|
mmp
31 Posts |
Posted - 31 Oct 2003 : 16:24:55
|
Hi Drew; I added the two entries in the .reg file in order to ensure that the cursor control registers have a value of 0 just as you said. Unfortunately, this did not resolve the issue. It looks like it had no effect. I am getting the same behavior as described earlier.
|
|
|
akidder
1519 Posts |
Posted - 31 Oct 2003 : 16:32:24
|
Thanks. It was worth a shot. We'll investigate.... |
|
|
|
Topic |
|