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

Incorporating panel (scrtip1.rc) into background window

rtsmith
Beginner
416 Views
I am using CVF Fortran with quickwin. I have generated a script1.rc file with all my edit boxes, drop down menus etc. My program is working perfectly. However, the working panel is being displayed in front of the basic window which contains the file/help tool bar at the top and the minimise/maximise/X exit box. I operate everything in the front panel but cannot access the background window. How do I incorporate the panel into the window so that it fits the background window itself. This should enable me (I hope) access the operations in the tool bar. I generated the working panel using the resource editor in CVF.
0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
416 Views
See QWToolbar sample on my home page, whichdemonstrtes the technique of attaching a window at the top of QWIN$FRAMEWINDOW's client area (with some help of Win32 APIs). Note that instead of toolbar (CreateToolbarEx) you can use pretty much anything, e.g. CreateWindow orCreateDialog -- I think DlgModeless willwork as well (if you need a modeless dialog that will act as a panel, make sure it has "Child" style and no borders).
Jugoslav
0 Kudos
Reply