Problem with MUI_INNERTEXT_DIRECTORY_TOP
Hi,
I've got a problem with MUI_INNERTEXT_DIRECTORY_TOP. Here is my code (it is a test code) :
It works fine for MUI_TEXT_DIRECTORY_TITLE, MUI_TEXT_DIRECTORY_SUBTITLE and MUI_INNERTEXT_DIRECTORY_DESTINATION. But for MUI_INNERTEXT_DIRECTORY_TOP, it displays "$8" :eek:...
define MUI_TEXT_DIRECTORY_TITLE $7
!
>!define MUI_TEXT_DIRECTORY_SUBTITLE $8
>!define MUI_INNERTEXT_DIRECTORY_TOP $8
>!define MUI_INNERTEXT_DIRECTORY_DESTINATION $9
>!define MUI_CUSTOMFUNCTION_DIRECTORY_PRE InstDirPre
>...
Function InstDirPre
StrCpy$7 "Directory Title"
StrCpy $8 "Directory subtitle"
StrCpy $9 "Innertext Directory"
>FunctionEnd
>
I tried to change the string of MUI_INNERTEXT_DIRECTORY_TOP with that:
InstDirPre
... (the lines above)
FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R0 $R0 1006
SendMessage $R0${WM_SETTEXT} 0 "STR:test"
>FunctionEnd
>
And it didn't worked. Then I tried with that (I was sure it wouldn't work, but why not? :D):
InstDirPre
...
GetDlgItem $R0 $HWNDPARENT 1006
SendMessage $R0${WM_SETTEXT} 0 "STR:test"
>FunctionEnd
>
And of course, it didn't work...In fact, I need to change the text of MUI_INNERTEXT_DIRECTORY_TOP like that because I got 2 directory pages, and I would like to show 2 different texts in those pages.
Please, help!!!
Thanx ;)