Sunday 15 February 2015

user interface - In NSIS, How to set the size of the dialog box when using nsDialogs::Create 1018? -


In NSIS, I am using:

  ... nsDialogs :: 1018 Create Pop $ 0 nsDialogs :: Show ...   

But the size of the dialog box does not conform to my needs. How can I specify a length for x and y for this dialogue ?

If you want to change everything, possibly using resource hacker and ChangeUI Better to do, but you can do it on runtime:

 ! NsDialogs.nsh function mypage system :: call 'user32 :: SetWindowPos (I $ hnnpprt, i, i, i, i640, i 480, ixx16)'; Resize External Dialogs Make nsDialogs :: 1018pop $ 0 System :: Call 'user32 :: Moving Window (i $ 0, i0, i0, i 600, i 200, i0)'; Resize the internal (nsDialogs) page $ {NSD_CreateLabel} 0 10u 100% 10u "Hello, welcome to NSDLog!" Pop $ 0 SetCtlColors $ 0ffffff 0xff2255nsDialogs :: Show Function and Page Custom Mypage    

No comments:

Post a Comment