Like to remove some Header text
I'd like to know how I can remove the text shown in this image.
http://www.greyfalcon.net/badhead.png
Archive: Like to remove some Header text
Like to remove some Header text
I'd like to know how I can remove the text shown in this image.
http://www.greyfalcon.net/badhead.png
I don't know:
-Removing the strings from the language file
-Destroying the static control
Use Resource Hacker. Edit IDD 105.
Edit: Or probably a better idea would be to hide them with ShowWindow $R0 ${SW_HIDE} in .onGUIInit rather than delete them.
-Stu
-Removing the strings from the language file
won't work. the labels arent autosizing :)
-Destroying the static control
this could work.
-Use Resource Hacker. Edit IDD 105 and delete the STATIC control
this will work.
- hide them with ShowWindow $R0 ${SW_HIDE} in .onGUIInit
this is probably the best solution.
but .onGUIInit is the wrong function. you should use the SHOW or PRE function of the directory page, because the control isnt created yet in .onGUIInit i guess.
GUIInit is the correct place to do this, as this is when the outer dialog (which contains the header labels) are initialised. You also only need to do it once and not for all pages.
Edit: No, you're correct.
!include MUI.nsh
OutFile "NoHeaderText.exe"
!insertmacro MUI_PAGE_WELCOME
!define MUI_PAGE_CUSTOMFUNCTION_SHOW DirectoryShow
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_LANGUAGE English
Function DirectoryShow
GetDlgItem $R0 $HWNDPARENT 1037
ShowWindow $R0 ${SW_HIDE}
GetDlgItem $R0 $HWNDPARENT 1038
ShowWindow $R0 ${SW_HIDE}
FunctionEnd
Section
SectionEnd
:)
Cool, I'll give this a try tommorow and see if I can get it to work.
Thanks
Thanks
Worked great.
Looks like I even got them to copy me :)
http://planetside.station.sony.com/download.vm
why do you have the black spaces on the sides of the image