Print Page | Close Window

Re: Form on top

Printed From: Mirage Source
Category: Tutorials
Forum Name: Submitted Tutorials
Forum Discription: Tutorial submissions for MSE are posted here, waiting for approval
URL: http://ms.shannaracorp.com/backup-forums/forum_posts.asp?TID=351
Printed Date: 20 December 2006 at 6:04pm
Software Version: Web Wiz Forums 8.01 - http://www.webwizforums.com


Topic: Re: Form on top
Posted By: shortybsd
Subject: Re: Form on top
Date Posted: 01 March 2006 at 4:29am

In reference to http://www.miragesource.com/forums/forum_posts.asp?TID=30&PN=2 - http://www.miragesource.com/forums/forum_posts.asp?TID=30&am p;PN=2

Yes Sync, you are correct :P.  The API Declare is this:

Declare Function SetWindowPos Lib "user32" Alias "SetWindowPos" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

and for anyone converting this project to C# :) the code is:
System.Windows.Forms.Form.TopMost; System.Windows.Forms.Form.Size; System.Windows.Forms.Form.DesktopLocation; System.Windows.Forms.Form.WindowState




Print Page | Close Window

Bulletin Board Software by Web Wiz Forums version 8.01 - http://www.webwizforums.com
Copyright ©2001-2006 Web Wiz Guide - http://www.webwizguide.info