Re: New Windows Development


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

Posted by Brian Levantine on January 27, 2004 at 10:44:39:

In Reply to: New Windows Development posted by Frank McKay on Mon, 26 Jan 2004 21:00:32 :

Hi Frank. It is not possible to make your application behave like a Windows MDI (Multiple Application Interface)application. The reason for this is that MDI applications use special window classes that maintain special relationships between each of the application windows. Comet uses the SDI (Single Document Interface) window class which is maintained by the program Cosw.

You can make your dialog sizeable so long as they're displayed as child windows of Cosw (try the Comet utility CtMaint to see an example). The problem is that UE (Ultra Edit) has a single large edit field which if made larger gives the user more visible space in the SAME EDIT FIELD. Your programs have many edit fields. Even if a window is made larger you will still have the same number of fields so there is no benefit. You can however make a large dialog that can be sized down by the user to make more desktop space visible.

As for the "print screen" function, the following code segment will do as you requested.

GOSUB COS.GetFrameWnd ! cosCwnd$ = Frame window
cosMessage = WM.COMMAND ! Send a command
coswParam = cosPRINT.SESSION ! Command ID
coswParam = coswParam+(BN.CLICKED*65536) ! Click
coslParam = 0
GOSUB COS.PostMessage



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):






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