public static bool AppbarRemove() { AppBarData messageData = DefaultMessage; int value = NativeMethods.SHAppBarMessage((int)AppBarMessages.Remove, ref messageData); return(value != 0); }
private static void AppbarQueryPos(ref RECT rect) { AppBarData messageData = DefaultMessage; messageData.uEdge = (int)Side; messageData.rc = rect; NativeMethods.SHAppBarMessage((int)AppBarMessages.QueryPos, ref messageData); }
internal static bool AppbarNew() { AppBarData messageData = DefaultMessage; messageData.uCallBackMessage = NativeMethods.RegisterWindowMessageW(MessageGuid); MessageId = messageData.uCallBackMessage; int value = NativeMethods.SHAppBarMessage((int)AppBarMessages.NewAppBar, ref messageData); return(value != 0); }
internal static extern int SHAppBarMessage(int dwMessage, ref AppBarData pData);