- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the visual fortran dialog editor lets me turn
on/off the visible property of a control.
I'd like to do that dinamically, that is, I'd like
to make a program that hides a control in a dialog
window. I've noticed there is not a control index
"DLG_VISIBLE".Is that possible to do that ? if it is, would you
please send a fortran code that makes that possible ?
thanks in advance.
Otavio
(otavio@iee.efei.br)
on/off the visible property of a control.
I'd like to do that dinamically, that is, I'd like
to make a program that hides a control in a dialog
window. I've noticed there is not a control index
"DLG_VISIBLE".Is that possible to do that ? if it is, would you
please send a fortran code that makes that possible ?
thanks in advance.
Otavio
(otavio@iee.efei.br)
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My XFLOGM replacement has, among others, DLG_VISIBLE exetension.
With standard DFLOGM, you can use ShowWindow API to achieve the same. However, it will work only from within callback routines. If you want to show/hide control initially, you can write dialog initialization callback (put the ID of the dialog itself into DlgSetSub and it will be called immediately after DlgModal).
The syntax for ShowWindow will be:
HTH
Jugoslav
With standard DFLOGM, you can use ShowWindow API to achieve the same. However, it will work only from within callback routines. If you want to show/hide control initially, you can write dialog initialization callback (put the ID of the dialog itself into DlgSetSub and it will be called immediately after DlgModal).
The syntax for ShowWindow will be:
USE DFWIN ... i = ShowWindow(GetDlgItem(Dlg%hWnd,IDC_WHATEVER), SW_HIDE/SW_SHOW)
HTH
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your module XFLOGM worked fine.
Thank you very much.
Otavio
Thank you very much.
Otavio

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page