Software Archive
Read-only legacy content
17061 Discussions

Restoring Dialog focus after WINPRINT

Intel_C_Intel
Employee
222 Views
In the old forum there were a couple of helpful threads on returning focus to a dialog box after a message was displayed. I think I have a new twist.

I have a series of dialog boxes with Cancel, Back, New, and Finish buttons. I've worked out the "wizard" logic, and I display output in full screen mode in the DLG_INIT event procedure for each dialog. Now the user wants a Print button added. That seems easy; the callback for that button contains just one executable statement:

iStat = CLICKMENUQQ(LOC(WINPRINT))

The problem is that WINPRINT displays a dialog box, then a message box; and, when they're gone, so is my dialog box. I can cancel full screen mode by clicking on the output, and that reveals the dialog box, but then there's no way to return to full screen mode without moving to a different display via Back or New.

I would appreciate any suggestions.

It's a QuickWin project in CVF 6.5 under WinNT 4/SP6.

TIA,

Dick

0 Kudos
0 Replies
Reply