- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
Does anyone know if it is possible to change the color of the text in a dialogbox? I am using a Windows-projecttype. I would like to change the color of the text depending on the calculationresult.
Does anyone know if it is possible to change the color of the text in a dialogbox? I am using a Windows-projecttype. I would like to change the color of the text depending on the calculationresult.
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it created with DialogBox(Param) or with DLGMODAL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used DLGMODAL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jugoslav,
and thank you very much for helping me. I downloaded your testfile, and I tried to include your XFLOGM-file in my project, but I got a linking error. Have I done anything wrong?
error LNK2001: unresolved external symbol _DLGSETTITLE@12
and thank you very much for helping me. I downloaded your testfile, and I tried to include your XFLOGM-file in my project, but I got a linking error. Have I done anything wrong?
error LNK2001: unresolved external symbol _DLGSETTITLE@12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No you didn't. XFLOGM is based on DFLOGM from CVF 6.0; I didn't manage to keep it up to date with Compaq's additions in the meantime (there aren't many, but DlgSetTitle and ActiveX support are the most important). Thus, the versions "diverged".
Guess I'll add DlgSetTitle support soon; in the meantime, the workaround is to use a dialog-initialization callback:
Sorry for the inconvenience.
Jugoslav
Guess I'll add DlgSetTitle support soon; in the meantime, the workaround is to use a dialog-initialization callback:
i = DlgSetSub(dlg, IDD_DIALOG1, SetDlgTitle) ... subroutine SetDlgTitle(Dlg,ID,iEvent) use dflogm use dfwin, only: SetWindowText type(Dialog):: Dlg integer:: id, iEvent, i i = SetWindowText(Dlg%hWnd, "Your Dialog Title"C) end subroutine SetDlgTitle
Sorry for the inconvenience.
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Jugoslav,
Thank you very much for your help. It is now working perfectly.
// Jenny
Thank you very much for your help. It is now working perfectly.
// Jenny

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