Some useful DlgItem changes: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library)
 
m (Updated author and download links, and changed format of some pages.)
Line 20: Line 20:
-Stu
-Stu


Page author: Afrow UK
Page author: [[User:Afrow UK|Afrow UK]]

Revision as of 12:38, 23 April 2005

Description

These are to change text on different items of your installer. They can be used to change text on the different dialogs of your installer.

Examples

## Change Cancel button text
GetDlgItem $R0 $HWNDPARENT 2
SendMessage $R0 ${WM_SETTEXT} 0 "STR:My Text"
 
## Change Back button text
GetDlgItem $R0 $HWNDPARENT 3
SendMessage $R0 ${WM_SETTEXT} 0 "STR:My Text"
 
## Change branding text
GetDlgItem $R0 $HWNDPARENT 1027
SendMessage $R0 ${WM_SETTEXT} 0 "STR:My Branding Text"

-Stu

Page author: Afrow UK