Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   InstallOptions with Modern UI - How to change the FileRequest button text? (http://forums.winamp.com/showthread.php?t=249879)

PieroQuadro 28th June 2006 13:48

InstallOptions with Modern UI - How to change the FileRequest button text?
 
Hi all,

I'm writing an installer using Modern Interface, and I need a simple custom page to ask to the user the location of a file.

My problem is that I don't like very much the fact that the browse button of the FileRequest displays 3 dots (...) instead of a "browse" text.

I've seen some similar post in this newsgroup, but I didn't quite understand the solution. They say to use the SendMessage instruction, but I don't know when to send this message, and I'm not really sure to which control window.

This is the code I found, put i don't know where to put it, and if it will work at all...

FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $1 $0 1201
SendMessage $1 ${WM_SETTEXT} 0 "STR:String"

Thank you,
Piero.

Afrow UK 29th June 2006 12:57

See attached Zip in this topic:
http://forums.winamp.com/showthread....=change+browse

-Stu


All times are GMT. The time now is 05:18.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.