PDA

View Full Version : Resize and change scrollbar



ShadoW2004
23-09-2004, 07:52 AM
Hell All!

Some body can explain how to change and resize scrollbar?

NokDoc
23-09-2004, 04:36 PM
Hi,

I think U know this one:

http://nokiafree.org/forums/t65007/h/s.html

If after it U still need help, reask there please.

NokDoc

ShadoW2004
23-09-2004, 06:06 PM
2 NokDoc

Thank you, but I don't need to delete scrollbar I need to do it longer and change it to:

NokDoc
23-09-2004, 09:24 PM
Hi,

I knew once...

From my head it depends on the nr of lines in Ur menu.

I'll try to find out, I recall I made a file with 4 menus lines once.

The drawline calls from the other thread can lead U to such place.

NokDoc

ShadoW2004
24-09-2004, 05:00 AM
I'm creating mod with 39x84 pics of menu, now I hawe 4 rows for "Write SMS". some menus (0x80 style) seems good, but 0xC0 menus looks like (...second picture what I wont to do) :

ShadoW2004
30-09-2004, 10:03 AM
Somebody can help me?

ShadoW2004
08-10-2004, 08:47 AM
So, what I need to do for resize scrollbar?

mestrini
08-10-2004, 12:03 PM
I don't think it's a matter of resising the scroll bar!

As Nokdoc said, the bar is as long as the menu entries and what is needed is to change the way the 0xC0 menus show on screen. If you find a way to increase the number of text lines in the menu, i believe the bar will increase automatically.

To get the bar to look like the pics above (dots) you have to find the routine where the line is drawn (look in remove_bar script for it ;) ) and find a way to make it write dot-space-dot (hard work!!!)

cheers

ShadoW2004
08-10-2004, 02:31 PM
I find in source of remove_scroll_bar_v1.5.nrx this:

say " Locating original scrollbar.."

patt=x2c(5c40466972484668FFFFFFFFb003bd00)
mask=x2c(FFFFFFFFFFFFFFFF00000000FFFFFFFF)
find x2d(200000) "patt" "mask"

if rc=0 then do ; say " Not found !! END!!"; exit 1; end

And how I mast serch it?

mestrini
08-10-2004, 07:16 PM
say " Locating original scrollbar.."

patt=x2c(5c40466972484668FFFFFFFFb003bd00)
mask=x2c(FFFFFFFFFFFFFFFF00000000FFFFFFFF)
find x2d(200000) "patt" "mask"
say "Original bar found at 0x"d2x(rc)
if rc=0 then do ; say " Not found !! END!!"; exit 1; end

write the line in red in your script and, when patching, will show the address in the output window. Then just browse with Winarm ;)

cheers

ShadoW2004
09-10-2004, 04:08 AM
Thank you mestrini ;)

I will try...

ShadoW2004
09-10-2004, 04:38 AM
It said Original bar found at 0x2377F2 but it is not posible no adress 0x2377F2 !!!

What about say "Original bar found at 0x"d2x(rc) ?

mestrini
09-10-2004, 02:56 PM
It said Original bar found at 0x2377F2 but it is not posible no adress 0x2377F2 !!!

What about say "Original bar found at 0x"d2x(rc) ?

One: What's the difference between yours and mine? :P

two: 0x2377F2 is same as 0377F2 without the 200000, which is the start of MCU ;)

I always use absolute addressing because both nokix and my winarm version use them :roll:

cheers

ShadoW2004
09-10-2004, 04:23 PM
Oh, ok I understand...

Here is find_scroll_bar.nrx

mestrini
09-10-2004, 11:43 PM
That's great man :-D

that's the way to go!!! simple but still an attempt to understand nokix's way of working and make an own script :smile: i started just like that.


Now you must study more scripts and try to analyse more instruction lines

ShadoW2004
10-10-2004, 05:26 AM
Ok, I find it adress 0x0377F2, but how to see how scroll bar looks and how to chage it to dot-space-dot? What size of scrollbar?