Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Component Descriptions (http://forums.winamp.com/showthread.php?t=255893)

Scipio 21st September 2006 03:58

Component Descriptions
 
Is there any way to show a description for components without having to mouse over it? For example, when the user first enters the component selection page, the description for the first group comes up. Then when they click or use the keyboard to select another component, then the description for that comes up.

Afrow UK 21st September 2006 10:00

You should be able to set its text like so:

code:
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ComponentsPageShow
!insertmacro MUI_PAGE_COMPONENTS

Function ComponentsPageShow
FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R0 $R0 1043
SendMessage $R0 ${WM_SETTEXT} 0 "STR:Text"
FunctionEnd



-Stu

Scipio 22nd September 2006 05:52

Thanks Afro UK! I got it to show up, but I can't figure out how to make the message change from component to component. And the text appears grayed-out instead of black.

Afrow UK 22nd September 2006 10:53

Oh so you're saying that the description does not change when the user selects another component using the keyboard?

-Stu


All times are GMT. The time now is 04:29.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.