home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / d / desklib / !DeskSrc / FN / Libraries / DeskMem / Dialog / c0 / ShowAt < prev    next >
Encoding:
Text File  |  1996-05-10  |  1.1 KB  |  32 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Dialog.ShowAt.c
  12.     Author:  Copyright © 1994 Peter Gaunt
  13.     Version: 1.00 (12 Mar 1994)
  14.     Purpose: Very high level window (dialogue) handling -
  15.              Showing non-permanent (menu) dialogues
  16. */
  17.  
  18.  
  19. #include "Desk.Wimp.h"
  20. #include "Desk.WimpSWIs.h"
  21.  
  22. #include "Desk.Dialog.h"
  23.  
  24.  
  25. /* Similar to Desk_Dialog_Show but opens dialogue at x/y */
  26. extern void Desk_Dialog_ShowAt( dialog dbox, int x, int y )
  27. {
  28.   dbox->state.isstatic = Desk_bool_FALSE;
  29.   Desk_Wimp_eCreateMenu( (Desk_menu_block *) dbox->window, x, y);
  30.   dbox->state.stillopen = Desk_bool_TRUE;
  31. }
  32.