standard dialog buttons
Hi does anyone know how to disable the standard minimise maximise and close buttons on the installation dialog box. I have been looking through the modern user interface but cant find anything on this. many thanks
2 posts
!define SC_MINIMIZE 0xF020
!define SC_MAXIMIZE 0xF030
!define SC_CLOSE 0xF060
!define MF_GRAYED 1
System::Call 'user32::GetSystemMenu(i $HWNDPARENT, i 0) i .r0'
System::Call 'user32::EnableMenuItem(i s, i ${SC_MINIMIZE}, i ${MF_GRAYED})'
System::Call 'user32::GetSystemMenu(i $HWNDPARENT, i 0) i .r0'
System::Call 'user32::EnableMenuItem(i s, i ${SC_MAXIMIZE}, i ${MF_GRAYED})'
System::Call 'user32::GetSystemMenu(i $HWNDPARENT, i 0) i .r0'
System::Call 'user32::EnableMenuItem(i s, i ${SC_CLOSE}, i ${MF_GRAYED})'