home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / oleaut / hello / hellctrl / hellctrl.rc < prev    next >
Text File  |  1995-06-23  |  699b  |  26 lines

  1. #include <windows.h>
  2. #include "hellctrl.h"
  3.  
  4. ControlIcon icon hellctrl.ico
  5.  
  6. ControlMenu MENU
  7. BEGIN
  8.     POPUP        "&Control Menu"
  9.     BEGIN
  10.         MENUITEM "&CreateHello",  IDM_CREATEHELLO
  11.         MENUITEM "&SetVisible",   IDM_SETVISIBLE 
  12.         MENUITEM "&SetInvisible",   IDM_SETINVISIBLE
  13.         MENUITEM "&GetHelloMessage",   IDM_GETHELLOMESSAGE
  14.         MENUITEM "&InvokeSayHello",  IDM_SAYHELLO
  15.         MENUITEM "&ReleaseHello",     IDM_RELEASEHELLO
  16.     END
  17. END
  18.  
  19. STRINGTABLE
  20. BEGIN
  21.    IDS_PROGNAME,           "Hello Controller - vtbl binding"           // Application name
  22.    IDS_RESULT,             "Result"
  23.    IDS_ERROR,              "Error : Function Failed"
  24. END
  25.  
  26.