Re: Windows Dialog question...>


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on April 27, 2012 at 08:11:39:

In Reply to: Windows Dialog question...> posted by Tom Fulton on April 27, 2012 at 07:20:26:

Tom:

Here's some code you can use to position the dialog in the center of the Comet window:

! Position dialog so it's centered in main window
Gosub COS.GetViewWnd ! -> CWnd$ -> Parent
cosState = 0 ! Center in window
Gosub COS.SetWindowPos


Put this in your "InitDialog" routine.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]