Change Uninstall Log Window Font: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library) |
m (Adding new author and category links.) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{PageAuthor|Afrow UK}} | |||
== Description == | == Description == | ||
This changes the font of the text in the uninstaller LogWindow. | This changes the font of the text in the uninstaller LogWindow. | ||
Line 28: | Line 30: | ||
</highlight-nsis> | </highlight-nsis> | ||
Thanx [[ | Thanx [[User:Joel|Joel]] for writing this code. | ||
-Stu | -Stu | ||
[[Category:User Interface Functions]] |
Latest revision as of 11:54, 24 June 2005
Author: Afrow UK (talk, contrib) |
Description
This changes the font of the text in the uninstaller LogWindow.
Usage
!include WinMessages.nsh Section "Uninstall" Call un.LogFont ### other uninstall stuff here ### SectionEnd
The Function
Function un.LogFont Push $R0 Push $R1 FindWindow $R0 "#32770" "" $HWNDPARENT GetDlgItem $R0 $R0 1016 CreateFont $R1 "Comic Sans Ms" "8" "700" SendMessage $R0 ${WM_SETFONT} $R1 0 Pop $R1 Pop $R0 FunctionEnd
Thanx Joel for writing this code.
-Stu