what is different in using DEFINE WINDOW and DEFINE DIALOG
best regards
kajot
different DEFINE WINDOW and DEFINE DIALOG
different DEFINE WINDOW and DEFINE DIALOG
best regards
kajot
kajot
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: different DEFINE WINDOW and DEFINE DIALOG
DEFINE WINDOW is for creating WINDOWs and DEFINE DIALOG is for creating DIALOGs. What else?
EMG
EMG
- Detlef Hoefner
- Posts: 312
- Joined: Sat Oct 08, 2005 9:12 am
- Location: Germany
- Contact:
Re: different DEFINE WINDOW and DEFINE DIALOG
This is a question that i asked myself several times.kajot wrote:what is different in using DEFINE WINDOW and DEFINE DIALOG
best regards
kajot
No matter if i define a window or a dialog, i can place there controls like gets, says, listboxes, browses and more.
Apart from MDI designed applications, the differences i know ist that a dialog has other units for it's dimensions, you can ask for oDlg:nResult and a window can not be designed with Borland Workshop.
I suppose that kajot's question ( and also mine ) was about the real differences between dialogs and windows.
Regards,
Detlef
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Detlef,
>
I suppose that kajot's question ( and also mine ) was about the real differences between dialogs and windows.
>
The differences comes from the Windows API itself:
Windows manages windows and dialogs as different kind of objects, though in fact, a dialog is a kind of a window (a specialized one for managing controls). i.e: In a standard window, Tab will not change the focus to the next control.
FiveWin closely follows the Windows API where you can find CreateWindow() for creating a window and CreateDialog() (and DialogBox(), etc.) for creating a dialog.
The Windows API provides support for building a dialog from resources, but does not offer such functionality for windows. This is just an example, there are some more differences.
>
I suppose that kajot's question ( and also mine ) was about the real differences between dialogs and windows.
>
The differences comes from the Windows API itself:
Windows manages windows and dialogs as different kind of objects, though in fact, a dialog is a kind of a window (a specialized one for managing controls). i.e: In a standard window, Tab will not change the focus to the next control.
FiveWin closely follows the Windows API where you can find CreateWindow() for creating a window and CreateDialog() (and DialogBox(), etc.) for creating a dialog.
The Windows API provides support for building a dialog from resources, but does not offer such functionality for windows. This is just an example, there are some more differences.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: