Old 6th November 2006, 14:25   #1
dkwasiborski
Junior Member
 
Join Date: Oct 2006
Posts: 2
HWND resize

Hello,

If someone have the solution to resize dynamically the hwnd of the nsis installer.
thanks
dkwasiborski is offline   Reply With Quote
Old 6th November 2006, 18:53   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
SendMessage(hWnd, WM_SIZE, width, height);

Comes to my mind, now...


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 6th November 2006, 19:50   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
WM_SIZE is only a notification. You have to call SetWindowPos or MoveWindow with the System plug-in to resize the window.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 7th November 2006, 01:21   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Quote:
Originally posted by kichik
WM_SIZE is only a notification. You have to call SetWindowPos or MoveWindow with the System plug-in to resize the window.
I know, but you can send that notification to your app w/o problem....

Although, SetWindowPos or MoveWindow are also good


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 7th November 2006, 19:03   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You can send it, but it shouldn't do anything. It's a notification sent after the size has been changed.
Quote:
The WM_SIZE message is sent to a window after its size has changed.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump