Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28871 Discussions

Problems with Systemmenu in dialog-applications

faidor
Novice
1,339 Views
Hi there, the first problem-thread, I bet ;-).

I built a VF6.0 dailog-application for Windows on a WinNT machine. Now I integrated the systemmenu in the dialog (minmize, maximize and close button on the top right corner). Minimizing works, maximizing is intentionally greyed out, but theclosing-button doesnt do anything. I tried to check the manual - found nothing, I tried to check the examples: no result (check "Therm" for example), the clos-button has also no effect.

Can anybody help me? It would be enough to point out, how it works in the "Therm"-example.

Best greetings,

Andre
1 Reply
faidor
Novice
1,339 Views
Problem solved: You need to have at least a hidden button with the id=IDCANCEL, otherwise, the clos-button will not work. This is at least applicable for dialog-based applications, base on dflogm.f90 (use dflogm).
Thasnk to Jugoslav, who again proved is great knowledge in VF6.0 ;-). Thanks,

Andre
0 Kudos
Reply