This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- SdShowMsg position
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 13, 2012
09:20 AM
SdShowMsg position
Is there a way to change SdShowMsg position, other than center screen?
The dialog id is: SD_NDLG_SHOWMSG (12012)
I tried using PlaceWindow function but did not work:
PlaceWindow ( SD_NDLG_SHOWMSG , nDx , nDy , LOWER_LEFT );
SdShowMsg ( "LOWER_LEFT" , TRUE );
Delay (2);
SdShowMsg ( "LOWER_LEFT" , FALSE );
PlaceWindow ( 12012 , nDx , nDy , LOWER_LEFT );
SdShowMsg ( "LOWER_LEFT" , TRUE );
Delay (2);
SdShowMsg ( "LOWER_LEFT" , FALSE );
The dialog id is: SD_NDLG_SHOWMSG (12012)
I tried using PlaceWindow function but did not work:
PlaceWindow ( SD_NDLG_SHOWMSG , nDx , nDy , LOWER_LEFT );
SdShowMsg ( "LOWER_LEFT" , TRUE );
Delay (2);
SdShowMsg ( "LOWER_LEFT" , FALSE );
PlaceWindow ( 12012 , nDx , nDy , LOWER_LEFT );
SdShowMsg ( "LOWER_LEFT" , TRUE );
Delay (2);
SdShowMsg ( "LOWER_LEFT" , FALSE );
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 18, 2012
06:04 PM
I don't think there's a built-in way. (The PlaceWindow topic lists the things that can officially be moved using that function.) I haven't tried it, but if you can get a window handle, you might be able to call the SetWindowPos API function to move SdShowMsg around.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)