|
|
#1 |
|
Junior Member
Join Date: Sep 2002
Posts: 6
|
DirText textbox width/height
Is there a way to tweak the height/width of the DirText textbox on the "directory" page?
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Sure, use Resource Hacker to modify Contrib\UIs\modern.exe. You may want to save it as a new copy though and use !define MUI_UI my_new_modern.exe
Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2002
Posts: 6
|
hmmm...doesn't seem to work.
Is it really modern.exe? I've even tried editing default.exe with ResHack. The best would be if it's controlled from in the script. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2002
Posts: 6
|
you know, I got an idea.
I can probably manipulate it using SendMessages (btw, as it turns out, I'm not use MUI at all). I just need to know which ones are the elements I need to move and resize. Looking at the source: code: Are these the items below the DIRTEXT and above the "Space Required" items? |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2002
Posts: 6
|
Update
Although it would be cool to be able to use System/Win32 calls to do it, I revisited the ResHack method and finally got it to work.
The key was to use ResHack and edit default.exe and adjust the size for every dialog (and items in them) accordingly then add the following to my NSI script: code: And viola! it works. |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
SendMessage would not have worked. You would have had to call SetWindowPos with the System plugin, like shown here:
http://forums.winamp.com/showthread.php?threadid=245878 Yeh default.exe is for classic UI. Stu |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Sep 2002
Posts: 6
|
I was thinking more along the lines of MoveWindow (since some items have to be shifted down) and then send a WM_PAINT/WM_SIZE msg.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|