cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nnjcsc
Level 6

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 );
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

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.
0 Kudos