[help] Reshacking Miranda Dll

hi all,

i know some of you use miranda, so i figure i could ask here. :D i'm trying to resize a chat window, but the sizes won't stick (tried dbtool and dbeditor). i'm using sramm 1.0.1.9, so i decided to look through sramm.dll to see if i could resize the dialog, but i'm not good at this. is there a way to specify within the dll a "default" window size?

thanks for the help. :)

#185307

For the basic dialog, you should see something like this:

186 DIALOG 0, 0, 183, 69
STYLE DS_FIXEDSYS | DS_CENTER | WS_MAXIMIZEBOX...
CAPTION "%.200s: Message Received"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"

In the first line, the last two numbers correspond to dialog sizes.

186 DIALOG 0, 0, 183, 69

Originally posted by dreamz@Jul 2 2004, 05:50 PM

...I'm using sramm 1.0.1.9...

I just downloaded and tried version 1.0.2.0 and my message window sizes are sticking for individual users after exiting the program.

#185352

thanks for the reply.

i reshacked the dll and looked under dialogs 108 and 186 and changed the last two numbers to 370 and 315 respectively. i assumed these were pixel sizes.

in any case, after a restart of the client, the window stuck until i received a message, and then the window defaulted to a larger size.

edit: i found another value that affects the dialog size. i need to experiment a bit more with the values.

**nope, didn't work. might need to just do a clean installation of miranda sometime. oh well.

tried a clean installation of miranda, tried upgrading to a nightly, but i still have the problem.

when i first do a clean installation, the resizing works, but as soon as i make changes to sramm options, it breaks.

reshacked the heck out of the dll, and i came up with a minimal message window. :)

http://screenshots.haque.net/screenshots/v...nshot-17193.jpg

Posts Merged.

Please don't triple-post, Dreamz.

---------------------

Stevie BM

#185358