OnShow doesn't trigger if form is wsMaximized
Original Reporter info from Mantis: Jesus @jramx
-
Reporter name: Jesus Reyes
Original Reporter info from Mantis: Jesus @jramx
- Reporter name: Jesus Reyes
Description:
Setting the WindowState property to wsMaximized doesn't trigger the OnShow event.
Steps to reproduce:
Set WindowState property to wsMaximized
Additional information:
To show a form in this state, ShowWindow(Handle, SW_SHOWMAXIMIZED) maximized is used, the documentation say that in this situation a WM_SHOWWINDOW is not sent to the window so the LM_SHOWWINDOW is not received and so form can't do DoShow which in turn calls Form's OnShow.
Mantis conversion info:
- Mantis ID: 865
- OS: Windows
- OS Build: ALL
- Platform: i386
- Fixed in version: 0.9.7 (CVS)
- Monitored by: » Vincent (Vincent Snijders)